30 lines
715 B
YAML
30 lines
715 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
|
|
only:
|
|
- master
|