joplin-mdbooks-website/.gitlab-ci.yml
2020-11-20 21:29:38 +02:00

25 lines
480 B
YAML

build:
image: python
stage: build
before_script:
- wget https://github.com/getzola/zola/releases/download/v0.12.2/zola-v0.12.2-x86_64-unknown-linux-gnu.tar.gz -O zola.tgz
- tar zxvf zola.tgz
- git clone https://github.com/getzola/book.git themes/book/
script:
- ./zola build
artifacts:
paths:
- public
pages:
stage: deploy
script:
- ls -lah public/
dependencies:
- build
artifacts:
paths:
- public
only:
- master