Skip to content
Snippets Groups Projects
Commit 12986fb2 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Use CI_BUILD_REF_NAME instead of CI_BUILD_REF_TAG

parent 2f2c2b72
Branches
Tags
1 merge request!645Gitlab ci documentation
Pipeline #1199 failed with stages
in 9 minutes and 43 seconds
......@@ -104,7 +104,7 @@ deploy:documentation:
- tags
- triggers
script:
- "curl --request POST --form token=$WEBSITE_TOKEN --form ref=master --form \"variables[RELEASE_CI_BUILD_TAG]=$CI_BUILD_TAG\" --form \"variables[RELEASE_CI_BUILD_ID]=$CI_BUILD_ID\" https://gitlab.labs.nic.cz/api/v3/projects/5/trigger/builds"
- "curl --request POST --form token=$WEBSITE_TOKEN --form ref=master --form \"variables[RELEASE_CI_BUILD_REF_NAME]=$CI_BUILD_REF_NAME\" --form \"variables[RELEASE_CI_BUILD_ID]=$CI_BUILD_ID\" https://gitlab.labs.nic.cz/api/v3/projects/5/trigger/builds"
artifacts:
name: "knot-dns-$CI_BUILD_TAG-doc"
paths:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment