You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'
109
+
- name: Notify Discord
110
+
if: failure() && github.ref == 'refs/heads/main'
111
+
uses: discord-actions/message@v2
112
+
with:
113
+
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
114
+
message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'
# message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'
112
+
- name: Notify Discord
113
+
if: failure() && github.ref == 'refs/heads/main'
114
+
uses: discord-actions/message@v2
115
+
with:
116
+
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }}
117
+
message: 'The [most recent build](<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}>) on the `main` branch has failed.'
0 commit comments