We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda894b commit aedbb1bCopy full SHA for aedbb1b
.github/workflows/deploy.yml
@@ -90,11 +90,9 @@ jobs:
90
curl -f -X POST https://ask.defang.io/trigger-rebuild?token=${{ secrets.CHATBOT_TOKEN }}
91
92
- name: Notify Slack of Action Failures
93
- uses: ravsamhq/[email protected]
94
- if: ${{ always() && github.ref_name == 'main' }}
95
- with:
96
- status: ${{ job.status }}
97
- notify_when: "failure"
98
- notification_title: "{workflow} is failing"
+ if: ${{ failure() && github.ref_name == 'main' }}
+ uses: rtCamp/action-slack-notify@v2
99
env:
100
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_NOTIFIER_WEBHOOK_URL }}
+ SLACK_TITLE: Defang Docs deploy workflow failed
+ MSG_MINIMAL: actions url
+ SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFIER_WEBHOOK_URL }}
0 commit comments