2016-07-07 06:22:49 +00:00
|
|
|
image: elecnix/ikiwiki
|
|
|
|
|
2016-07-07 08:05:37 +00:00
|
|
|
before_script:
|
|
|
|
- apt-get install -y git
|
|
|
|
- git submodule init
|
|
|
|
- git submodule update
|
|
|
|
|
2016-07-07 06:22:49 +00:00
|
|
|
test:
|
|
|
|
stage: test
|
2016-07-07 07:59:53 +00:00
|
|
|
script:
|
2016-07-07 08:20:26 +00:00
|
|
|
- ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib
|
2021-09-15 07:50:29 +00:00
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
2016-07-07 06:22:49 +00:00
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
2016-07-07 07:59:53 +00:00
|
|
|
script:
|
2016-07-07 08:20:26 +00:00
|
|
|
- ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib
|
2016-07-07 06:22:49 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
2021-09-15 07:50:29 +00:00
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|