Skip to content
Snippets Groups Projects
Commit c0046474 authored by jurgenhaas's avatar jurgenhaas
Browse files

Replace GITLAB_PRIVATE_TOKEN with GITLAB_ACCESS_TOKEN

parent ca55b369
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ CollectConfig:
- merge
- TARGETBRANCH=main merge
- |
curl --fail --retry 2 -X DELETE -s -H "PRIVATE-TOKEN: ${GITLAB_PRIVATE_TOKEN}" "https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/repository/branches/cc-${CI_JOB_ID}"
curl --fail --retry 2 -X DELETE -s -H "PRIVATE-TOKEN: ${GITLAB_ACCESS_TOKEN}" "https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/repository/branches/cc-${CI_JOB_ID}"
cache: {}
only:
refs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment