mirror of https://github.com/nate2014jatc/AGSTATUS
Compare commits
7 Commits
2eff5fed81
...
f6e69f1af2
Author | SHA1 | Date |
---|---|---|
rv | f6e69f1af2 | |
rv | 11ab95ab7a | |
rv | 68f189ed4d | |
rv | dffb0d4a63 | |
rv | 02de894696 | |
rv | b9520fb275 | |
rv | 32b846b833 |
|
@ -0,0 +1,24 @@
|
||||||
|
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 }}"
|
|
@ -1,14 +0,0 @@
|
||||||
jobs:
|
|
||||||
name: ntfy_action
|
|
||||||
uses: blackshot/ntfy-action@v1.1
|
|
||||||
on: page_build
|
|
||||||
with:
|
|
||||||
url: https://ntfy.sh/
|
|
||||||
topic: Hgh543VzdawHYbZw
|
|
||||||
tags: update, service, Astra Group
|
|
||||||
title: Astra Group Service Update
|
|
||||||
actions: {
|
|
||||||
"action": "http",
|
|
||||||
"label": "Open Site",
|
|
||||||
"url": "https://status.astragroup.info/",
|
|
||||||
}
|
|
Loading…
Reference in New Issue