Now test the token again

This commit is contained in:
Michael Jerger 2023-08-17 16:34:27 +02:00
parent 00972e65f3
commit 1c20a85f35
2 changed files with 3 additions and 3 deletions

View file

@ -14,6 +14,7 @@ stages:
image: "domaindrivenarchitecture/ddadevops:4.5.5-dev2023-08-17-09-15-42" image: "domaindrivenarchitecture/ddadevops:4.5.5-dev2023-08-17-09-15-42"
before_script: before_script:
- export RELEASE_ARTIFACT_TOKEN=$test - export RELEASE_ARTIFACT_TOKEN=$test
- export PROTECTED_TOKEN_EXAMPLE=$PROTECTED_TOKEN_EXAMPLE
build_on_main: build_on_main:

View file

@ -68,9 +68,8 @@ def tag(project):
@task @task
def publish_artifacts(project): def publish_artifacts(project):
build = get_devops_build(project) build = get_devops_build(project)
print("one more test") print("PROTECTED_TOKEN_EXAMPLE" in environ)
print("RELEASE_ARTIFACT_TOKEN" in environ) print(environ.get("PROTECTED_TOKEN_EXAMPLE"))
print(environ.get("RELEASE_ARTIFACT_TOKEN"))
build.publish_artifacts() build.publish_artifacts()