Silence CI notifications (#235)

This commit is contained in:
Nabarun Gogoi 2024-11-27 08:49:30 +05:30 committed by GitHub
parent e5a00016c1
commit d6f3d744d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,19 +21,19 @@ jobs:
run: yarn run: yarn
- name: Test webapp deployment - name: Test webapp deployment
run: ./packages/deployer/test/test-webapp-deployment-undeployment.sh run: ./packages/deployer/test/test-webapp-deployment-undeployment.sh
- name: Notify Vulcanize Slack on CI failure # - name: Notify Vulcanize Slack on CI failure
if: ${{ always() && github.ref_name == 'main' }} # if: ${{ always() && github.ref_name == 'main' }}
uses: ravsamhq/notify-slack-action@v2 # uses: ravsamhq/notify-slack-action@v2
with: # with:
status: ${{ job.status }} # status: ${{ job.status }}
notify_when: 'failure' # notify_when: 'failure'
env: # env:
SLACK_WEBHOOK_URL: ${{ secrets.VULCANIZE_SLACK_CI_ALERTS_WEBHOOK }} # SLACK_WEBHOOK_URL: ${{ secrets.VULCANIZE_SLACK_CI_ALERTS_WEBHOOK }}
- name: Notify DeepStack Slack on CI failure # - name: Notify DeepStack Slack on CI failure
if: ${{ always() && github.ref_name == 'main' }} # if: ${{ always() && github.ref_name == 'main' }}
uses: ravsamhq/notify-slack-action@v2 # uses: ravsamhq/notify-slack-action@v2
with: # with:
status: ${{ job.status }} # status: ${{ job.status }}
notify_when: 'failure' # notify_when: 'failure'
env: # env:
SLACK_WEBHOOK_URL: ${{ secrets.DEEPSTACK_SLACK_CI_ALERTS_WEBHOOK }} # SLACK_WEBHOOK_URL: ${{ secrets.DEEPSTACK_SLACK_CI_ALERTS_WEBHOOK }}