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:
|
pages:
|
||||||
image: python
|
image: ubuntu
|
||||||
stage: build
|
script:
|
||||||
before_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
|
- 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
|
- tar zxvf zola.tgz
|
||||||
- git clone https://github.com/getzola/book.git themes/book/
|
- git clone https://github.com/getzola/book.git themes/book/
|
||||||
script:
|
|
||||||
- ./zola build
|
- ./zola build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user