- test
- respdiff
- deploy
+ - release
- pkg
# https://docs.gitlab.com/ce/ci/jobs/job_control.html#select-different-runner-tags-for-each-parallel-matrix-job
- docker
- ${PLATFORM}
-dockerhub:deploy:
+docker:dockerhub:
<<: *docker
- stage: deploy
+ stage: release
when: manual
only:
- tags
url: https://www.knot-resolver.cz/documentation/artifacts/$CI_JOB_ID/index.html
# This job deploys the current docs as <https://knot.pages.nic.cz/knot-resolver>
-pages:
+docs:pages:
stage: deploy
needs:
- docs:build
# This job pushes the Knot Resolver documentation into a new branch of the
# `websites/knot-resolver.cz` repository.
docs:website:
- stage: deploy
+ stage: release
needs:
- docs:build
when: manual
+ only:
+ refs:
+ - tags
variables:
script:
- "SRC_COMMIT_REF=\"$CI_COMMIT_TAG$CI_COMMIT_BRANCH$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME\""