34 lines
532 B
YAML
34 lines
532 B
YAML
image: jekyll/jekyll:4
|
|
|
|
variables:
|
|
JEKYLL_ENV: production
|
|
LC_ALL: C.UTF-8
|
|
|
|
before_script:
|
|
- apk add python3 py3-markdown
|
|
- rm Gemfile.lock
|
|
|
|
test:
|
|
stage: test
|
|
interruptible: true
|
|
script:
|
|
- python3 utils/update_lua_api.py
|
|
- bundle exec jekyll build -d test
|
|
artifacts:
|
|
paths:
|
|
- test
|
|
except:
|
|
- master
|
|
|
|
pages:
|
|
stage: deploy
|
|
interruptible: true
|
|
script:
|
|
- python3 utils/update_lua_api.py
|
|
- bundle exec jekyll build -d public
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|