change msg behaviour
This commit is contained in:
parent
94d869a37e
commit
a7ae0357d1
1 changed files with 3 additions and 1 deletions
4
.github/workflows/update-server.yml
vendored
4
.github/workflows/update-server.yml
vendored
|
@ -61,11 +61,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: send ping to ntfy
|
- name: send ping to ntfy
|
||||||
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
curl -X POST -d @- https://push.ixvd.net/${{ secrets.NTFY_TOPIC }} <<EOF
|
cat msg.txt <<EOF
|
||||||
results for: ${{ github.sha }}
|
results for: ${{ github.sha }}
|
||||||
validate: ${{ jobs.validate.status }}
|
validate: ${{ jobs.validate.status }}
|
||||||
deploy: ${{ jobs.deploy.success }}
|
deploy: ${{ jobs.deploy.success }}
|
||||||
|
|
||||||
https://git.ixvd.net/${{ github.repository }}/actions/runs/${{ github.run_number }}
|
https://git.ixvd.net/${{ github.repository }}/actions/runs/${{ github.run_number }}
|
||||||
EOF
|
EOF
|
||||||
|
curl -d @msg.txt https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}
|
||||||
|
|
Reference in a new issue