Fix push auth with PAT and use correct run_number in ntfy link
This commit is contained in:
@@ -20,6 +20,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: master
|
ref: master
|
||||||
|
token: ${{ secrets.PUSH_TOKEN }}
|
||||||
|
|
||||||
- name: Configure git identity
|
- name: Configure git identity
|
||||||
run: |
|
run: |
|
||||||
@@ -43,5 +44,5 @@ jobs:
|
|||||||
-H "Title: Flake auto-update failed" \
|
-H "Title: Flake auto-update failed" \
|
||||||
-H "Priority: high" \
|
-H "Priority: high" \
|
||||||
-H "Tags: warning" \
|
-H "Tags: warning" \
|
||||||
-d "Auto-update workflow failed. Check: ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}" \
|
-d "Auto-update workflow failed. Check: ${{ gitea.server_url }}/${{ gitea.repository }}/actions/runs/${{ gitea.run_number }}" \
|
||||||
https://ntfy.neet.dev/nix-flake-updates
|
https://ntfy.neet.dev/nix-flake-updates
|
||||||
|
|||||||
Reference in New Issue
Block a user