2021-07-13 15:50:05 +02:00
|
|
|
variables:
|
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
|
|
|
2021-06-13 22:22:13 +02:00
|
|
|
pages:
|
2023-03-10 15:08:43 +01:00
|
|
|
image: archlinux:latest
|
|
|
|
interruptible: true
|
|
|
|
timeout: 5m
|
|
|
|
rules:
|
|
|
|
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH"
|
|
|
|
when: always
|
|
|
|
before_script:
|
|
|
|
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
|
|
|
|
script:
|
|
|
|
- zola --version
|
|
|
|
- zola build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
exclude:
|
|
|
|
- public/404.html
|
2021-06-14 10:47:23 +02:00
|
|
|
|
2021-08-24 11:56:39 +02:00
|
|
|
merge-request-testing:
|
2023-03-10 15:08:43 +01:00
|
|
|
image: archlinux:latest
|
|
|
|
interruptible: true
|
|
|
|
timeout: 5m
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
|
|
|
when: always
|
|
|
|
before_script:
|
|
|
|
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
|
|
|
|
script:
|
|
|
|
- zola --version
|
|
|
|
- zola build
|