AGSTATUS/.github/workflows/NTFY.yml

24 lines
724 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
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",
2023-10-31 01:46:08 -06:00
"message": "The site has been updated.",
2023-10-27 19:26:46 -06:00
"actions": [
{
2023-10-27 19:38:50 -06:00
"action": "view",
2023-10-27 19:26:46 -06:00
"label": "Visit Site",
2023-10-27 19:38:50 -06:00
"url": "https://status.astragroup.info/"
2023-10-27 19:26:46 -06:00
}
]
}'
- run: echo "Job status is ${{ job.status }}"