Skip to content
Snippets Groups Projects
Commit 18f42722 authored by Eberhard Stoll's avatar Eberhard Stoll
Browse files

Fix pages build

Pages build did not work as expected with PAGES_BUILD_REF. So the 'only' keyword is exchanged
by an rule. The default rule is now to build the docs only for the default branch.
PAGES_BUILD_REF is now obsoleted and removed.
parent 6e0f03a2
No related branches found
No related tags found
1 merge request!4Fix pages build and add BUILD_SDK variable
variables:
BUILD_IMAGE_TAG: "20"
PAGES_BUILD_REF: master
stages:
- init
......@@ -119,8 +118,8 @@ stages:
name: kontron/docker-ktn-docs
entrypoint: [""]
needs: []
only:
- ${PAGES_BUILD_REF}
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- cd docs
- mkdocs build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment