Delete '.gitea/workflows/notification/action.yaml'
All checks were successful
Explore-GitHub-Actions
All checks were successful
Explore-GitHub-Actions
This commit is contained in:
parent
dfcfdfedd6
commit
86df81f51d
|
@ -1,23 +0,0 @@
|
||||||
name: GitHub Actions Demo
|
|
||||||
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
|
|
||||||
jobs:
|
|
||||||
Notify:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Success Notification
|
|
||||||
if: success()
|
|
||||||
run: |
|
|
||||||
curl -u '${{ secrets.NTFY_USER }}:${{ secrets.NTFY_PASSWORD }}' \
|
|
||||||
-H 'Title: Job Succeeded. ${{ github.repository }}/${{ github.ref }}' \
|
|
||||||
-H "Tags: +1" \
|
|
||||||
-d 'Job succeeded. See '$GITHUB_SERVER_URL'/${{ github.repository }}/actions/runs/${{ github.run_number }} for details' \
|
|
||||||
'${{ secrets.NTFY_HOST }}${{ secrets.NTFY_TOPIC }}'
|
|
||||||
- name: Failure Notification
|
|
||||||
if: failure()
|
|
||||||
run: |
|
|
||||||
curl -u '${{ secrets.NTFY_USER }}:${{ secrets.NTFY_PASSWORD }}' \
|
|
||||||
-H "Priority: high" \
|
|
||||||
-H 'Title: Job FAILED. ${{ github.repository }}/${{ github.ref }}' \
|
|
||||||
-H "Tags: warning" \
|
|
||||||
-d 'Job failed. See '$GITHUB_SERVER_URL'/${{ github.repository }}/actions/runs/${{ github.run_number }} for details' \
|
|
||||||
'${{ secrets.NTFY_HOST }}${{ secrets.NTFY_TOPIC }}'
|
|
Loading…
Reference in New Issue
Block a user