mirror of https://github.com/nate2014jatc/AGSTATUS
Compare commits
No commits in common. "f6e69f1af2fa76c678d6facd00eae775bc94cea9" and "2eff5fed81032e5f4c6c93440e35c9637c8ff30c" have entirely different histories.
f6e69f1af2
...
2eff5fed81
|
@ -1,24 +0,0 @@
|
||||||
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 }}"
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
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