before_script: - sudo apk add git ikiwiki - git submodule init - git submodule update test: stage: test script: - ikiwiki --setup ikiwiki.setup rules: - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH tags: - knit pages: stage: deploy script: - ikiwiki --setup ikiwiki.setup artifacts: paths: - public rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH tags: - knit