2016-07-07 08:05:37 +00:00
|
|
|
before_script:
|
2023-08-13 22:55:08 +00:00
|
|
|
- sudo apk add git ikiwiki
|
2016-07-07 08:05:37 +00:00
|
|
|
- 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:
|
2024-06-16 16:33:55 +00:00
|
|
|
- ikiwiki --setup ikiwiki.setup
|
2021-09-15 07:50:29 +00:00
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
2023-08-13 22:55:08 +00:00
|
|
|
tags:
|
2023-08-13 22:57:21 +00:00
|
|
|
- knit
|
2016-07-07 06:22:49 +00:00
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
2016-07-07 07:59:53 +00:00
|
|
|
script:
|
2024-06-16 16:33:55 +00:00
|
|
|
- ikiwiki --setup ikiwiki.setup
|
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
|
2023-08-13 22:55:08 +00:00
|
|
|
tags:
|
2023-08-13 22:57:21 +00:00
|
|
|
- knit
|