From 1c20a85f354e746fae37d3410a44ceba3e0b2611 Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Thu, 17 Aug 2023 16:34:27 +0200 Subject: [PATCH] Now test the token again --- .gitlab-ci.yml | 1 + build.py | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8fcce08..83fc0f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,7 @@ stages: image: "domaindrivenarchitecture/ddadevops:4.5.5-dev2023-08-17-09-15-42" before_script: - export RELEASE_ARTIFACT_TOKEN=$test + - export PROTECTED_TOKEN_EXAMPLE=$PROTECTED_TOKEN_EXAMPLE build_on_main: diff --git a/build.py b/build.py index 0e4a58c..d582b9d 100644 --- a/build.py +++ b/build.py @@ -68,9 +68,8 @@ def tag(project): @task def publish_artifacts(project): build = get_devops_build(project) - print("one more test") - print("RELEASE_ARTIFACT_TOKEN" in environ) - print(environ.get("RELEASE_ARTIFACT_TOKEN")) + print("PROTECTED_TOKEN_EXAMPLE" in environ) + print(environ.get("PROTECTED_TOKEN_EXAMPLE")) build.publish_artifacts()