1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Ensure API docs are generated before exiting

This commit is contained in:
Mark McDowall
2025-02-19 17:00:42 -08:00
parent b22d598ebf
commit 05d57aa913
2 changed files with 23 additions and 2 deletions
+14 -1
View File
@@ -33,7 +33,7 @@ jobs:
id: setup-dotnet
- name: Create openapi.json
run: ./docs.sh Linux x64
run: ./scripts/docs.sh Linux x64
- name: Commit API Docs Change
continue-on-error: true
@@ -50,3 +50,16 @@ jobs:
else
echo "No changes since last run"
fi
- name: Notify
if: failure()
uses: tsickert/discord-webhook@v6.0.0
with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
username: "GitHub Actions"
avatar-url: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png"
embed-title: "${{ github.workflow }}: Failure"
embed-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
embed-description: |
Failed to update API docs
embed-color: "15158332"