change msg behaviour
All checks were successful
update neo with compose files / deploy the config on the server (push) Successful in 5s
update neo with compose files / notify after actions (push) Successful in 2s

This commit is contained in:
Didier Slof 2023-04-30 22:02:41 +02:00
parent 94d869a37e
commit a7ae0357d1

View file

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