2017-08-17 22:00:37 +05:30
|
|
|
# Template project: https://gitlab.com/pages/jekyll
|
|
|
|
# Docs: https://docs.gitlab.com/ce/pages/
|
2020-04-08 14:13:33 +05:30
|
|
|
image: ruby:2.6
|
2016-06-22 15:30:34 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
variables:
|
|
|
|
JEKYLL_ENV: production
|
2019-09-30 21:07:59 +05:30
|
|
|
LC_ALL: C.UTF-8
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
before_script:
|
2020-04-08 14:13:33 +05:30
|
|
|
- gem install bundler
|
2019-09-04 21:01:54 +05:30
|
|
|
- bundle install
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
script:
|
2019-09-04 21:01:54 +05:30
|
|
|
- bundle exec jekyll build -d test
|
2016-06-22 15:30:34 +05:30
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-09-04 21:01:54 +05:30
|
|
|
- test
|
2016-06-22 15:30:34 +05:30
|
|
|
except:
|
2019-09-04 21:01:54 +05:30
|
|
|
- master
|
2016-06-22 15:30:34 +05:30
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
2019-09-04 21:01:54 +05:30
|
|
|
- bundle exec jekyll build -d public
|
2016-06-22 15:30:34 +05:30
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-09-04 21:01:54 +05:30
|
|
|
- public
|
2016-06-22 15:30:34 +05:30
|
|
|
only:
|
2019-09-04 21:01:54 +05:30
|
|
|
- master
|