forked from ilot/ilot-io
Try to push to pages
This commit is contained in:
parent
9a79303eef
commit
212314cee7
1 changed files with 3 additions and 18 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue