display message
This commit is contained in:
parent
1f116e1b99
commit
0eb9499184
1 changed files with 2 additions and 1 deletions
3
.github/workflows/update-server.yml
vendored
3
.github/workflows/update-server.yml
vendored
|
@ -58,6 +58,7 @@ jobs:
|
||||||
notify:
|
notify:
|
||||||
name: notify after actions
|
name: notify after actions
|
||||||
if: always()
|
if: always()
|
||||||
|
needs: [deploy]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: send ping to ntfy
|
- name: send ping to ntfy
|
||||||
|
@ -65,9 +66,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cat>msg.txt <<EOF
|
cat>msg.txt <<EOF
|
||||||
results for: ${{ github.sha }}
|
results for: ${{ github.sha }}
|
||||||
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
|
||||||
|
cat msg.txt
|
||||||
curl -d @msg.txt https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}
|
curl -d @msg.txt https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}
|
||||||
|
|
Reference in a new issue