minetest_modding_book/.gitlab-ci.yml
2020-08-19 00:20:01 +01:00

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