ayakael.net/.gitlab-ci.yml
2023-08-13 18:57:21 -04:00

25 lines
480 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:
- knit
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:
- knit