Update dist-2.yml

This commit is contained in:
jstan-isch 2023-01-25 19:01:13 -06:00 committed by GitHub
parent a8b71753f3
commit bcb70434e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,3 +22,14 @@ jobs:
#- run: echo ${{ github.event.client_payload.test }} #- run: echo ${{ github.event.client_payload.test }}
#- run: echo ${{ github.event.client_payload.sha }} #- run: echo ${{ github.event.client_payload.sha }}
#- run: echo ${{ github.event.client_payload.test }} #- run: echo ${{ github.event.client_payload.test }}
- run: |
curl --request POST \
--url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
--data '{
"context": "Staging Tests",
"state": "success",
"description": "Staging tests passed",
"target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}'