debian-mirror-gitlab/vendor/gitlab-ci-yml/Pages/Jekyll.gitlab-ci.yml

31 lines
434 B
YAML
Raw Normal View History

2017-08-17 22:00:37 +05:30
# Template project: https://gitlab.com/pages/jekyll
# Docs: https://docs.gitlab.com/ce/pages/
2016-06-22 15:30:34 +05:30
image: ruby:2.3
2017-08-17 22:00:37 +05:30
variables:
JEKYLL_ENV: production
before_script:
- bundle install
2016-06-22 15:30:34 +05:30
test:
stage: test
script:
2017-08-17 22:00:37 +05:30
- bundle exec jekyll build -d test
2016-06-22 15:30:34 +05:30
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
script:
2017-08-17 22:00:37 +05:30
- bundle exec jekyll build -d public
2016-06-22 15:30:34 +05:30
artifacts:
paths:
- public
only:
- master
2017-08-17 22:00:37 +05:30