|
@@ -51,3 +51,17 @@ jobs:
|
|
|
- name: Deploy to GitHub Pages
|
|
|
id: deployment
|
|
|
uses: actions/deploy-pages@v4
|
|
|
+
|
|
|
+ # https://github.com/annybs/notify-discord
|
|
|
+ notify:
|
|
|
+ name: Notify Discord
|
|
|
+ uses: annybs/notify-discord@develop
|
|
|
+ needs: deploy
|
|
|
+ if: ${{ always() }}
|
|
|
+ with:
|
|
|
+ discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
|
|
+ repository: ${{ github.repository }}
|
|
|
+ result: ${{ needs.deploy.result }}
|
|
|
+ run_id: ${{ github.run_id }}
|
|
|
+ run_number: ${{ github.run_number }}
|
|
|
+ workflow: ${{ github.workflow }}
|