From cd3be38db9dc05ba4c50990269f4ae81a75abf10 Mon Sep 17 00:00:00 2001 From: ssube Date: Sat, 29 Jun 2019 11:39:49 -0500 Subject: [PATCH] fix(scripts): use project path for status --- scripts/github-status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/github-status.sh b/scripts/github-status.sh index e4bf2a4..284dd72 100755 --- a/scripts/github-status.sh +++ b/scripts/github-status.sh @@ -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}"