CI: Ntfy-Benachrichtigungen (Start/Success/Failure) via data/ntfy-action
All checks were successful
Deploy bericht / deploy (push) Successful in 13s

[deploy]

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Eduard Wisch 2026-05-28 06:54:41 +02:00
parent ca2b796b36
commit 52489ad21d

View file

@ -12,6 +12,15 @@ jobs:
runs-on: docker
if: startsWith(github.ref, 'refs/tags/v') || contains(github.event.head_commit.message, '[deploy]')
steps:
- name: Notify Start
uses: https://git.data-it-solution.de/data/ntfy-action@main
with:
status: start
project: Bericht
ntfy_auth: ${{ secrets.NTFY_AUTH }}
run_number: ${{ github.run_number }}
message: ${{ github.event.head_commit.message }}
- name: Checkout
run: |
git clone --depth 1 --branch "${GITHUB_REF_NAME}" \
@ -39,3 +48,22 @@ jobs:
./ "$DEPLOY_PATH/"
echo "Deployment erfolgreich: ${REF} -> ${DEPLOY_PATH}"
- name: Notify Success
if: success()
uses: https://git.data-it-solution.de/data/ntfy-action@main
with:
status: success
project: Bericht
ntfy_auth: ${{ secrets.NTFY_AUTH }}
run_number: ${{ github.run_number }}
- name: Notify Failure
if: failure()
uses: https://git.data-it-solution.de/data/ntfy-action@main
with:
status: failure
project: Bericht
ntfy_auth: ${{ secrets.NTFY_AUTH }}
run_number: ${{ github.run_number }}
click_url: https://git.data-it-solution.de/${{ github.repository }}/actions