Fakultas Ilmu Komputer UI

Commit 181b1a07 authored by Ragil Al Badrun Pasaribu's avatar Ragil Al Badrun Pasaribu
Browse files

Separate deploy from build

parent 385e4978
Pipeline #9924 failed
......@@ -5,19 +5,32 @@ variables:
HTTPS_PROXY: http://proxy.cs.ui.ac.id:8080
stages:
- build
- deploy
deploy:
image: ruby:2.3-alpine3.8
build:
image: ruby:2.3
stage: deploy
script:
- apk add curl zip
- bundle install
- bundle exec jekyll build -d public
- sh deploy.sh
artifacts:
paths:
- public
only:
refs:
- master
deploy:
blog:deploy:
stage: deploy
image: alpine:3.9
variables:
HTTP_PROXY: http://proxy.cs.ui.ac.id:8080
HTTPS_PROXY: http://proxy.cs.ui.ac.id:8080
script:
- apk add curl zip
- sh deploy.sh
dependencies:
- build
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment