joplin-mdbooks-website/.gitlab-ci.yml

27 lines
502 B
YAML
Raw Normal View History

2021-11-19 21:13:37 -05:00
stages:
- build
- pages
build:
stage: build
2020-11-26 18:18:12 -05:00
image: python
2020-11-26 18:17:23 -05:00
script:
2021-11-19 21:13:37 -05:00
- pip install pre-commit
- pre-commit run -a --hook-stage=manual
- wget https://github.com/rust-lang/mdBook/releases/download/v0.4.13/mdbook-v0.4.13-x86_64-unknown-linux-gnu.tar.gz -O mdbook.tgz
- tar zxvf mdbook.tgz
- mv mdbook /usr/local/bin/
- ./build
2020-11-20 13:22:00 -05:00
artifacts:
paths:
- public
2021-11-19 21:13:37 -05:00
pages:
stage: pages
script: ls -lah public/
2020-11-26 18:12:21 -05:00
only:
2020-11-20 13:22:00 -05:00
- master
2021-11-19 21:13:37 -05:00
artifacts:
paths:
- public