1
0
Fork 0
forked from ilot/ilot-io

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