File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,16 @@ jobs:
1414
1515 - name : Notify Bugsnag of release
1616 run : |
17- curl https://build.bugsnag.com/ \
18- -d apiKey=${{ secrets.BUGSNAG_API_KEY }} \
19- -d appVersion=${GITHUB_REF_NAME} \
20- -d releaseStage=production \
21- -d builderName=github-actions \
22- -d sourceControl.provider=github \
23- -d sourceControl.repository=https://github.com/${GITHUB_REPOSITORY} \
24- -d sourceControl.revision=${GITHUB_SHA}
17+ curl -X POST https://api.bugsnag.com/deploys \
18+ -H "Content-Type: application/json" \
19+ -d "{
20+ \"apiKey\": \"${{ secrets.BUGSNAG_API_KEY }}\",
21+ \"appVersion\": \"${GITHUB_REF_NAME}\",
22+ \"releaseStage\": \"production\",
23+ \"builderName\": \"github-actions\",
24+ \"sourceControl\": {
25+ \"provider\": \"github\",
26+ \"repository\": \"https://github.com/${GITHUB_REPOSITORY}\",
27+ \"revision\": \"${GITHUB_SHA}\"
28+ }
29+ }"
You can’t perform that action at this time.
0 commit comments