AGSTATUS/.github/workflows/NTFY.yml

26 lines
816 B
YAML
Raw Normal View History

2023-10-27 19:26:46 -06:00
name: NTFY Manual Ping
run-name: ${{ github.actor }} has submitted a page build.
on: [page_build]
jobs:
NTFY-Manual-Ping:
runs-on: ubuntu-latest
2023-10-27 19:29:05 -06:00
# needs: pages-build-deployment
2023-10-27 19:26:46 -06:00
steps:
- run: echo "This job was automatically triggered by a ${{ github.event_name }} event."
- name: Ping NTFY server with update message.
run: |
2023-10-27 19:31:16 -06:00
curl ntfy.sh \
2023-10-27 19:26:46 -06:00
-d '{
"topic": "Hgh543VzdawHYbZw",
"message": "A status update has been posted.",
"actions": [
{
"action": "http",
"label": "Visit Site",
"url": "https://status.astragroup.info/",
"body": "{\"action\": \"close\"}"
}
]
}'
- run: echo "Job status is ${{ job.status }}"