1
0
Fork 0

fix(scripts): use project path for status

This commit is contained in:
ssube 2019-06-29 11:39:49 -05:00
parent a404b8de40
commit cd3be38db9
1 changed files with 1 additions and 1 deletions

View File

@ -8,4 +8,4 @@ STATUS_BODY="{\"state\": \"${STATUS}\", \"target_url\": \"${CI_PIPELINE_URL}\",
printf "Reporting status for %s...\n%s" "${CI_COMMIT_SHA}" "${STATUS_BODY}"
printf "%s" "${STATUS_BODY}" | curl -d @- \
-H "Authorization: token $(printf "%s" "${GITHUB_SECRET}" | base64 -d)" \
-i "https://api.github.com/repos/ssube/salty-dog/statuses/${CI_COMMIT_SHA}"
-i "https://api.github.com/repos/${CI_PROJECT_PATH}/statuses/${CI_COMMIT_SHA}"