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:
|
||||
name: notify after actions
|
||||
if: always()
|
||||
needs: [deploy]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: send ping to ntfy
|
||||
|
@ -65,9 +66,9 @@ jobs:
|
|||
run: |
|
||||
cat>msg.txt <<EOF
|
||||
results for: ${{ github.sha }}
|
||||
validate: ${{ jobs.validate.status }}
|
||||
deploy: ${{ jobs.deploy.success }}
|
||||
|
||||
https://git.ixvd.net/${{ github.repository }}/actions/runs/${{ github.run_number }}
|
||||
EOF
|
||||
cat msg.txt
|
||||
curl -d @msg.txt https://push.ixvd.net/${{ secrets.NTFY_TOPIC }}
|
||||
|
|
Reference in a new issue