Skip to content
Snippets Groups Projects
Unverified Commit bc6efccd authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Pr badge (#995)

* chore: update token

* chore: update token format

* debug gha badge

* bugfix: fix deploy url
parent b41528b4
No related branches found
No related tags found
No related merge requests found
......@@ -157,11 +157,11 @@ jobs:
curl -v \
-X POST \
-H "Authorization: Token ${{ secrets.WORKFLOW_TOKEN }}" \
-H "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H 'accept: application/vnd.github.v3+json' \
${GITHUB_API_ROOT}/statuses/${GITHUB_SHA} \
-d '{
"target_url":"$DEPLOY_URL",
"target_url":"'$DEPLOY_URL'",
"name": "Deployed at OKD",
"state": "success"
}'
......@@ -21,7 +21,7 @@ jobs:
run: |
curl -v \
-X POST \
-H "Authorization: Token ${{ secrets.WORKFLOW_TOKEN }}" \
-H "Authorization: Bearer ${{ github.token }}" \
-H 'accept: application/vnd.github.v3+json' \
${URL_ROOT}/statuses/${SHA} \
-d '{
......@@ -106,7 +106,7 @@ jobs:
[[ '${{ needs.e2e.outputs.failure-state }}' = 'true' ]] && state=failure || state=success &&
curl -v \
-X POST \
-H "Authorization: Token ${{ secrets.WORKFLOW_TOKEN }}" \
-H "Authorization: Bearer ${{ github.token }}" \
-H 'accept: application/vnd.github.v3+json' \
${URL_ROOT}/statuses/${SHA} \
-d '{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment