10-27-23_19:26:46

This commit is contained in:
rv 2023-10-27 19:26:46 -06:00
parent 32b846b833
commit b9520fb275
3 changed files with 26 additions and 18 deletions

26
.github/workflows/NTFY.yml vendored Normal file
View File

@ -0,0 +1,26 @@
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 curl ntfy.sh \
-d '{
"topic": "Hgh543VzdawHYbZw",
"message": "A status update has been posted.",
"actions": [
{
"action": "http",
"label": "Visit Site",
"url": "https://status.astragroup.info/",
"method": "PUT",
"body": "{\"action\": \"close\"}"
}
]
}'
- run: echo "Job status is ${{ job.status }}"

View File

@ -1,18 +0,0 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."