more clean

This commit is contained in:
Lucas Gravley 2020-07-20 14:29:03 -05:00
parent 2b478cc1cd
commit 4b6d5433f1

View file

@ -823,8 +823,8 @@ CallStatusAPI() {
##############################################
# Call the status API to create status check #
##############################################
SEND_STATUS_CMD=$(curl -X -s -f POST \
--url "https://api.github.com/repos/$GITHUB_REPOSITORY/statuses/$GITHUB_SHA" \
SEND_STATUS_CMD=$(curl -f -s -X POST \
--url "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/statuses/$GITHUB_SHA" \
-H 'accept: application/vnd.github.v3+json' \
-H "authorization: Bearer $GITHUB_TOKEN" \
-H 'content-type: application/json' \