Streamline pipelines more
This commit is contained in:
parent
ec7ae3f36d
commit
ff965d212b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user