2016-07-07 08:05:37 +00:00
|
|
|
before_script:
|
2024-06-21 17:36:33 +00:00
|
|
|
- sudo apk add git ikiwiki po4a perl-yaml-tiny
|
2016-07-07 08:05:37 +00:00
|
|
|
|
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
|
2024-06-21 17:51:51 +00:00
|
|
|
- ln -s index.en.html public/index.html
|
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
|
2024-06-21 17:51:51 +00:00
|
|
|
- ln -s index.en.html public/index.html
|
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
|