display message
All checks were successful
update neo with compose files / deploy the config on the server (push) Successful in 6s
update neo with compose files / notify after actions (push) Successful in 2s

This commit is contained in:
Didier Slof 2023-04-30 22:07:28 +02:00
parent 1f116e1b99
commit 0eb9499184

View file

@ -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 }}