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:18:23 -04:00
parent 9a79303eef
commit 212314cee7
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -3,29 +3,14 @@ before_script:
- git submodule init - git submodule init
- git submodule update - git submodule update
pages: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: pages:
path_prefix: "$CI_COMMIT_BRANCH"
artifacts:
paths:
- public
tags:
- knit
pages:deploy:
stage: deploy stage: deploy
script: script:
- ikiwiki --setup ikiwiki.setup - ikiwiki --setup ikiwiki.setup
artifacts: artifacts:
paths: paths:
- public - public
rules: pages:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH path_prefix: "$CI_COMMIT_BRANCH"
tags: tags:
- knit - knit