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