mirror of https://github.com/nate2014jatc/AGSTATUS
25 lines
765 B
YAML
25 lines
765 B
YAML
name: NTFY Manual Ping
|
|
run-name: ${{ github.actor }} has submitted a page build.
|
|
on: [page_build]
|
|
jobs:
|
|
NTFY-Manual-Ping:
|
|
runs-on: ubuntu-latest
|
|
# needs: pages-build-deployment
|
|
steps:
|
|
- run: echo "This job was automatically triggered by a ${{ github.event_name }} event."
|
|
- name: Ping NTFY server with update message.
|
|
run: |
|
|
curl ntfy.sh \
|
|
-d '{
|
|
"topic": "Hgh543VzdawHYbZw",
|
|
"message": "A status update has been posted.",
|
|
"actions": [
|
|
{
|
|
"action": "view",
|
|
"label": "Visit Site",
|
|
"url": "https://status.astragroup.info/"
|
|
}
|
|
]
|
|
}'
|
|
- run: echo "Job status is ${{ job.status }}"
|