25 lines
504 B
YAML
25 lines
504 B
YAML
before_script:
|
|
- sudo apk add git ikiwiki
|
|
- git submodule init
|
|
- git submodule update
|
|
|
|
test:
|
|
stage: test
|
|
script:
|
|
- ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
tags:
|
|
- apk-v3.18-x86_64
|
|
|
|
pages:
|
|
stage: deploy
|
|
script:
|
|
- ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
tags:
|
|
- apk-v3.18-x86_64
|