Skip to content

Commit

Permalink
Weird bug with github_headers
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 16, 2023
1 parent 29c2b94 commit 5357a87
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5357a87

Please sign in to comment.