Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pplc7
blog
Commits
181b1a07
Commit
181b1a07
authored
Mar 21, 2019
by
Ragil Al Badrun Pasaribu
Browse files
Separate deploy from build
parent
385e4978
Pipeline
#9924
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
181b1a07
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment