ayakael.net/.gitlab-ci.yml

26 lines
504 B
YAML
Raw Normal View History

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:
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
2023-08-13 22:55:08 +00:00
tags:
- apk-v3.18-x86_64
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
2023-08-13 22:55:08 +00:00
tags:
- apk-v3.18-x86_64