being nice to http
This commit is contained in:
parent
b1be442f40
commit
cc56467633
1 changed files with 4 additions and 4 deletions
8
.github/workflows/update-server.yml
vendored
8
.github/workflows/update-server.yml
vendored
|
@ -65,10 +65,10 @@ jobs:
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
cat>msg.txt <<EOF
|
cat>msg.txt <<EOF
|
||||||
results for: ${{ github.sha }} \n
|
results for: ${{ github.sha }}
|
||||||
deploy: ${{ needs.deploy.result }} \n
|
deploy: ${{ needs.deploy.result }}
|
||||||
\n
|
|
||||||
https://git.ixvd.net/${{ github.repository }}/actions/runs/${{ github.run_number }}
|
https://git.ixvd.net/${{ github.repository }}/actions/runs/${{ github.run_number }}
|
||||||
EOF
|
EOF
|
||||||
cat msg.txt
|
cat msg.txt
|
||||||
curl -d @msg.txt https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}
|
curl -H 'Content-Type: plain/text' -d @msg.txt https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}
|
||||||
|
|
Reference in a new issue