Streamline pipelines more

This commit is contained in:
Stavros Korokithakis 2020-11-27 01:17:23 +02:00
parent ec7ae3f36d
commit ff965d212b
No known key found for this signature in database
GPG Key ID: 26EA345ECD4C2A63

View File

@ -1,26 +1,10 @@
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:
image: ubuntu
script:
- cd /tmp/
- 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: