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 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:
|
||||
path_prefix: "$CI_COMMIT_BRANCH"
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
tags:
|
||||
- knit
|
||||
|
||||
pages:deploy:
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- ikiwiki --setup ikiwiki.setup
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
pages:
|
||||
path_prefix: "$CI_COMMIT_BRANCH"
|
||||
tags:
|
||||
- knit
|
||||
|
|
Loading…
Add table
Reference in a new issue