joplin-mdbooks-website/.gitlab-ci.yml
Stavros Korokithakis 95b683d224
Streamline pipelines
2020-11-27 01:11:37 +02:00

30 lines
717 B
YAML

test:
image: python
stage: test
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
except:
- master
pages:
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
except:
- master