2016-08-25 20:05:54 +02:00
|
|
|
# This file is a template, and might need editing before it works on your project.
|
|
|
|
# Full project: https://gitlab.com/pages/jekyll
|
|
|
|
image: ruby:2.3
|
|
|
|
|
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
script:
|
2016-11-21 03:46:40 +01:00
|
|
|
- gem install jekyll
|
2016-08-25 20:05:54 +02:00
|
|
|
- jekyll build -d test
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- test
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
2016-11-21 03:46:40 +01:00
|
|
|
- gem install jekyll
|
2016-08-25 20:05:54 +02:00
|
|
|
- jekyll build -d public
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
only:
|
|
|
|
- master
|