my-website/.gitlab-ci.yml

25 lines
615 B
YAML
Raw Normal View History

2021-06-13 22:22:13 +02:00
pages:
image: agners/archlinuxarm-arm64v8:latest
2021-06-13 22:22:13 +02:00
interruptible: true
only:
- master
before_script:
- pacman --needed --noconfirm -Syu zola
2021-06-13 22:22:13 +02:00
script:
- zola build
# Fall back to GitLab pages 404 site and delete unwanted robot pages
- rm public/404.html public/sitemap.xml public/robots.txt
2021-06-13 22:22:13 +02:00
artifacts:
paths:
- public
2021-06-14 10:47:23 +02:00
basic-zola-test:
image: agners/archlinuxarm-arm64v8:latest
interruptible: true
except:
- master
before_script:
- pacman --needed --noconfirm -Syu zola
script:
- zola build