Try to push to pages

This commit is contained in:
Antoine Martin 2024-06-15 00:11:55 -04:00
parent f4226eaca6
commit 67003971b4
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -1,7 +1,3 @@
stages:
- test
- deploy
before_script: before_script:
- sudo apk add git ikiwiki po4a perl-yaml-tiny - sudo apk add git ikiwiki po4a perl-yaml-tiny
- git submodule init - git submodule init
@ -11,8 +7,11 @@ test:
stage: test stage: test
script: script:
- ikiwiki --setup ikiwiki.setup - ikiwiki --setup ikiwiki.setup
- echo "Pages accessible through ${CI_PAGES_URL}/${CI_COMMIT_BRANCH}"
rules: rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
pages:
path_prefix: "$CI_COMMIT_BRANCH"
artifacts: artifacts:
paths: paths:
- public - public
@ -23,11 +22,10 @@ pages:
stage: deploy stage: deploy
script: script:
- ikiwiki --setup ikiwiki.setup - ikiwiki --setup ikiwiki.setup
- echo "Pages accessible through ${CI_PAGES_URL}/${CI_COMMIT_BRANCH}"
pages:
path_prefix: "$CI_COMMIT_BRANCH"
artifacts: artifacts:
paths: paths:
- public - public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
tags: tags:
- knit - knit