diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c16b0e2..963b2c69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,11 +64,7 @@ Ascent-Build-Test: # https://docs.gitlab.com/ee/api/commits.html#post-the-build-status-to-a-commit # Make sure to create the token with Developer level access and API scope - | - curl -L \ - -X POST \ - -H @${GITHUB_CURL_HEADERS}\ - https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA} \ - -d "{\"state\":\"${CI_JOB_NAME}\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${MY_CLUSTER}\"}" + curl -L -X POST -H @${GITHUB_CURL_HEADERS} https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA} -d "{\"state\":\"${CI_JOB_NAME}\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${MY_CLUSTER}\"}" environment: name: reporting-gitlab