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"
before_script:
- export RELEASE_ARTIFACT_TOKEN=$test
- export PROTECTED_TOKEN_EXAMPLE=$PROTECTED_TOKEN_EXAMPLE
build_on_main:

View file

@ -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()