Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Website
poul.org
Commits
6cef6fd6
Verified
Commit
6cef6fd6
authored
Sep 24, 2019
by
Davide Depau
Browse files
Build Jekyll in deploy jobs
parent
5679796b
Pipeline
#64
canceled with stage
in 2 minutes and 43 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6cef6fd6
image
:
jekyll/builder
stages
:
-
build
-
deploy
variables
:
...
...
@@ -13,29 +12,31 @@ before_script:
-
apk add lftp
-
./scripts/ci_fix_baseurl.sh
build-jekyll
:
stage
:
build
cache
:
key
:
gems
paths
:
-
"
/usr/local/bundle/cache"
script
:
-
bundle install
-
jekyll build -d public
deploy-prod
:
stage
:
deploy
script
:
-
bundle install
-
jekyll build -d public
-
./scripts/ci_deploy_site.sh public
cache
:
key
:
gems
paths
:
-
"
/usr/local/bundle/cache"
only
:
-
master
pages
:
stage
:
deploy
script
:
-
echo "Nothing to do."
-
bundle install
-
jekyll build -d public
-
echo "Nothing to do."
artifacts
:
paths
:
-
public
cache
:
key
:
gems
paths
:
-
"
/usr/local/bundle/cache"
only
:
-
develop
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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