]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
.gitlab-ci.yml: explicitly settable release name for docs docs-develop-doc-1cvguk/deployments/2651
authorOto Šťáva <oto.stava@nic.cz>
Tue, 29 Aug 2023 11:24:32 +0000 (13:24 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Tue, 29 Aug 2023 11:24:32 +0000 (13:24 +0200)
.gitlab-ci.yml

index 4e68fdcba846fb8b7ec6b0a9f1be732d09a7eae6..b0ff4ee8da76534226bb61017947b52762389acf 100644 (file)
@@ -16,6 +16,8 @@ variables:
   MESON_TEST: meson test -C build_ci* -t 4 --print-errorlogs
   PREFIX: $CI_PROJECT_DIR/.local
   EMAIL: 'ci@nic'
+  RELEASE_DOCS_ENV_NAME:
+    description: "Name of the release environment. This will usually be the Knot Resolver version number."
 
 image: $CI_REGISTRY/knot/knot-resolver/ci/debian-11:knot-$KNOT_VERSION
 default:
@@ -682,8 +684,6 @@ docs:release:
   stage: deploy
   needs:
     - docs:develop
-  variables:
-    RELEASE_DOCS_ENV_NAME: $CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA # TODO
   when: manual
   script: echo "Propagating artifacts into release environment"
   artifacts: