fix: c78e0499 (ntfy workflow)
This commit is contained in:
parent
c78e049913
commit
8726ffeedd
1 changed files with 31 additions and 20 deletions
15
.github/workflows/ntfy.yaml
vendored
15
.github/workflows/ntfy.yaml
vendored
|
|
@ -1,4 +1,15 @@
|
||||||
- name: Notify on Success
|
name: Ntfy Deployment Notifications
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
notify:
|
||||||
|
if: failure() || success()
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Notify on Success
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
curl \
|
curl \
|
||||||
|
|
@ -9,7 +20,7 @@
|
||||||
-d $'Commit: ${{ github.event.head_commit.message }}\nHash: ${{ github.sha }}' \
|
-d $'Commit: ${{ github.event.head_commit.message }}\nHash: ${{ github.sha }}' \
|
||||||
${{ secrets.NTFY_URL }}
|
${{ secrets.NTFY_URL }}
|
||||||
|
|
||||||
- name: Notify on Failure
|
- name: Notify on Failure
|
||||||
if: failure()
|
if: failure()
|
||||||
run: |
|
run: |
|
||||||
curl \
|
curl \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue