diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0458a9ac8db758c4eb2f114ea2109b402aa425f4..eef5e2dffaef2e6392be057dbd0eebb1845ddf09 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,8 @@ demo: script: - ls -al - >- - curl -H 'Content-Type: application/json' - -X PUT "https://gitlab-ci-token:${CI_JOB_TOKEN}@git.duniter.org/projects/${CI_PROJECT_ID}/repository/tags/${CI_COMMIT_TAG}/release" + curl --header "JOB-TOKEN: $CI_JOB_TOKEN" -H 'Content-Type: application/json' + -X PUT "https://git.duniter.org/projects/${CI_PROJECT_ID}/repository/tags/${CI_COMMIT_TAG}/release" -d '{"description": "Amazing release. Wow"}' only: - tags \ No newline at end of file