diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e92e4ff..5fac96e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,7 +58,7 @@ release: - git config --global user.email "ci@gitlab.com" - git add system.json - git commit -m "Update system.json with release URL" - - git push "https://oauth2:${GITLAB_PAT}@gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}.git" HEAD:master + - git push "https://$CI_COMMITTER_USER_AND_TOKEN@gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}.git" HEAD:master # Publish the release to the Foundry API - |