2021-03-10 06:38:50 -08:00
|
|
|
image: jekyll/jekyll:4
|
|
|
|
|
|
|
|
variables:
|
|
|
|
JEKYLL_ENV: production
|
|
|
|
LC_ALL: C.UTF-8
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- rm Gemfile.lock
|
2022-06-18 07:36:05 -07:00
|
|
|
- bundle install
|
|
|
|
|
2021-03-10 06:38:50 -08:00
|
|
|
|
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
interruptible: true
|
|
|
|
script:
|
|
|
|
- bundle exec jekyll build -d test
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- test
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
|
|
|
interruptible: true
|
|
|
|
script:
|
|
|
|
- bundle exec jekyll build -d public
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
only:
|
|
|
|
- master
|