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