Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lelux.fi
Wiki
Commits
e9597dc1
Commit
e9597dc1
authored
Jan 31, 2019
by
Elias Ojala
Browse files
Gitlab CI for Jekyll
parent
de09415e
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
e9597dc1
# This file is a template, and might need editing before it works on your project.
# Template project: https://gitlab.com/pages/jekyll
# Docs: https://docs.gitlab.com/ce/pages/
image
:
ruby:2.3
variables
:
JEKYLL_ENV
:
production
before_script
:
-
bundle install
test
:
stage
:
test
script
:
-
bundle exec jekyll build -d test
artifacts
:
paths
:
-
test
except
:
-
master
pages
:
stage
:
deploy
script
:
-
bundle exec jekyll build -d public
artifacts
:
paths
:
-
public
only
:
-
master
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