more notifications
All checks were successful
Apply Kuberentes Configs / update-repo (push) Successful in 0s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 2s
Apply Kuberentes Configs / notify-on-failure (push) Has been skipped
Manage Jellyfin Playlists / update-repo (push) Successful in 0s
Manage Jellyfin Playlists / run-python (push) Successful in 48s
Manage Jellyfin Playlists / notify-on-failure (push) Has been skipped
All checks were successful
Apply Kuberentes Configs / update-repo (push) Successful in 0s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 2s
Apply Kuberentes Configs / notify-on-failure (push) Has been skipped
Manage Jellyfin Playlists / update-repo (push) Successful in 0s
Manage Jellyfin Playlists / run-python (push) Successful in 48s
Manage Jellyfin Playlists / notify-on-failure (push) Has been skipped
This commit is contained in:
@@ -24,3 +24,22 @@ jobs:
|
|||||||
--no-privilege-elevation \
|
--no-privilege-elevation \
|
||||||
data-ssd/media \
|
data-ssd/media \
|
||||||
backup/media
|
backup/media
|
||||||
|
|
||||||
|
notify-on-failure:
|
||||||
|
runs-on: home-server
|
||||||
|
needs: update-infrastructure
|
||||||
|
if: failure()
|
||||||
|
uses: ./.gitea/workflows/notify-ntfy.yml
|
||||||
|
secrets:
|
||||||
|
NTFY_CHANNEL: ${{ secrets.NTFY_CHANNEL }}
|
||||||
|
with:
|
||||||
|
title: "ZFS Backup Failed"
|
||||||
|
message: |
|
||||||
|
Failed to backup ZFS datasets
|
||||||
|
Workflow: ${{ gitea.workflow }}
|
||||||
|
Repository: ${{ gitea.repository }}
|
||||||
|
Job: update-infrastructure
|
||||||
|
Status: ${{ needs.update-infrastructure.result }}
|
||||||
|
action_url: "https://git.alexmickelson.guru/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}"
|
||||||
|
priority: "high"
|
||||||
|
tags: "rotating_light,backup"
|
||||||
@@ -18,3 +18,22 @@ jobs:
|
|||||||
docker compose pull -q
|
docker compose pull -q
|
||||||
docker compose run --rm libation
|
docker compose run --rm libation
|
||||||
echo "Libation sync completed at $(date)"
|
echo "Libation sync completed at $(date)"
|
||||||
|
|
||||||
|
notify-on-failure:
|
||||||
|
runs-on: home-server
|
||||||
|
needs: sync-audiobooks
|
||||||
|
if: failure()
|
||||||
|
uses: ./.gitea/workflows/notify-ntfy.yml
|
||||||
|
secrets:
|
||||||
|
NTFY_CHANNEL: ${{ secrets.NTFY_CHANNEL }}
|
||||||
|
with:
|
||||||
|
title: "Libation Sync Failed"
|
||||||
|
message: |
|
||||||
|
Failed to sync audiobooks with Libation
|
||||||
|
Workflow: ${{ gitea.workflow }}
|
||||||
|
Repository: ${{ gitea.repository }}
|
||||||
|
Job: sync-audiobooks
|
||||||
|
Status: ${{ needs.sync-audiobooks.result }}
|
||||||
|
action_url: "https://git.alexmickelson.guru/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}"
|
||||||
|
priority: "high"
|
||||||
|
tags: "rotating_light,audiobooks"
|
||||||
|
|||||||
@@ -28,3 +28,22 @@ jobs:
|
|||||||
-e JELLYFIN_PASSWORD=$JELLYFIN_PASSWORD \
|
-e JELLYFIN_PASSWORD=$JELLYFIN_PASSWORD \
|
||||||
jellyfin_management \
|
jellyfin_management \
|
||||||
-m jellyfin.update_unindexed
|
-m jellyfin.update_unindexed
|
||||||
|
|
||||||
|
notify-on-failure:
|
||||||
|
runs-on: home-server
|
||||||
|
needs: run-python
|
||||||
|
if: failure()
|
||||||
|
uses: ./.gitea/workflows/notify-ntfy.yml
|
||||||
|
secrets:
|
||||||
|
NTFY_CHANNEL: ${{ secrets.NTFY_CHANNEL }}
|
||||||
|
with:
|
||||||
|
title: "Jellyfin Playlist Update Failed"
|
||||||
|
message: |
|
||||||
|
Failed to update Jellyfin playlists
|
||||||
|
Workflow: ${{ gitea.workflow }}
|
||||||
|
Repository: ${{ gitea.repository }}
|
||||||
|
Job: run-python
|
||||||
|
Status: ${{ needs.run-python.result }}
|
||||||
|
action_url: "https://git.alexmickelson.guru/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}"
|
||||||
|
priority: "high"
|
||||||
|
tags: "rotating_light,jellyfin"
|
||||||
|
|||||||
Reference in New Issue
Block a user