Update .gitlab-ci

This commit is contained in:
Antoine Martin 2023-08-13 18:55:08 -04:00
parent 99f89ff9f0
commit 13d8647472
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,7 +1,5 @@
image: elecnix/ikiwiki
before_script: before_script:
- apt-get install -y git - sudo apk add git ikiwiki
- git submodule init - git submodule init
- git submodule update - git submodule update
@ -11,6 +9,8 @@ test:
- ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib - ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib
rules: rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
tags:
- apk-v3.18-x86_64
pages: pages:
stage: deploy stage: deploy
@ -21,3 +21,5 @@ pages:
- public - public
rules: rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
tags:
- apk-v3.18-x86_64