Update curl.sh

This commit is contained in:
jstan-isch 2023-01-28 17:32:43 -06:00 committed by GitHub
parent 6554f1dd26
commit 50c7d99421
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,6 @@ curl \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
https://api.github.com/repos/jstan-isch/spring-petclinic/check-runs \
-d '{\"name\": \"{$CONTEXT}\", \"head_sha\": \"${SHA}\", \"status\":\"completed\", \"conclusion\": \"${STATUS}\"}'
-d '{"name": "'"$CONTEXT"'", "head_sha": "'"$SHA"'", "status": "completed", "conclusion": "'"$STATUS"'"}'