my-website/.gitlab-ci.yml

24 lines
615 B
YAML

pages:
image: agners/archlinuxarm-arm64v8:latest
interruptible: true
only:
- master
before_script:
- pacman --needed --noconfirm -Syu zola
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
artifacts:
paths:
- public
basic-zola-test:
image: agners/archlinuxarm-arm64v8:latest
interruptible: true
except:
- master
before_script:
- pacman --needed --noconfirm -Syu zola
script:
- zola build