Fix push auth with PAT, correct run link, and add ntfy to check-flake

This commit is contained in:
2026-02-22 15:04:23 -08:00
parent c84c0716ce
commit 54ab576914

View File

@@ -20,3 +20,14 @@ jobs:
- name: Build and cache - name: Build and cache
run: bash .gitea/scripts/build-and-cache.sh run: bash .gitea/scripts/build-and-cache.sh
- name: Notify on failure
if: failure()
run: |
curl -s \
-H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \
-H "Title: Flake check failed" \
-H "Priority: high" \
-H "Tags: warning" \
-d "Check failed for ${{ gitea.ref_name }}. Check: ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}" \
https://ntfy.neet.dev/nix-flake-updates