You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
my-website/.gitlab-ci.yml

30 lines
725 B

variables:
GIT_SUBMODULE_STRATEGY: recursive
1 year ago
pages:
image: archlinux:latest
1 year ago
interruptible: true
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1 year ago
before_script:
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
1 year ago
script:
- zola build
artifacts:
paths:
- public
exclude:
- public/404.html
- public/sitemap.xml
- public/robots.txt
basic-zola-test:
image: archlinux:latest
interruptible: true
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
before_script:
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
script:
- zola build