Fakultas Ilmu Komputer UI

Commit 08dfb906 authored by Fata Nugraha's avatar Fata Nugraha
Browse files

Change to one stage build

parent 799da8fe
Pipeline #9894 passed with stage
in 1 minute and 32 seconds
...@@ -5,30 +5,18 @@ variables: ...@@ -5,30 +5,18 @@ variables:
HTTPS_PROXY: http://proxy.cs.ui.ac.id:8080 HTTPS_PROXY: http://proxy.cs.ui.ac.id:8080
stages: stages:
- build
- deploy - deploy
build: build:
image: ruby:2.3 image: ruby:2.3
stage: build stage: deploy
script: script:
- bundle install - bundle install
- bundle exec jekyll build -d public - bundle exec jekyll build -d public
- sh deploy.sh
artifacts: artifacts:
paths: paths:
- public - public
only: only:
refs: refs:
- master - master
deploy:
stage: deploy
image: alpine:3.9
script:
- apk add curl zip
- sh deploy.sh
dependencies:
- build
only:
refs:
- master
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