ci(actions): Enable alerts for failed builds

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-12-28 12:15:12 +01:00
parent cd5ce825e2
commit dfcd9673d2

View file

@ -158,17 +158,16 @@ jobs:
# Deploy command # Deploy command
helm template openreplay -n app openreplay -f vars.yaml -f /tmp/image_override.yaml --set ingress-nginx.enabled=false --set skipMigration=true | kubectl apply -f - helm template openreplay -n app openreplay -f vars.yaml -f /tmp/image_override.yaml --set ingress-nginx.enabled=false --set skipMigration=true | kubectl apply -f -
#- name: Alert slack - name: Alert slack
# if: ${{ failure() }} if: ${{ failure() }}
# uses: rtCamp/action-slack-notify@v2 uses: rtCamp/action-slack-notify@v2
# env: env:
# SLACK_CHANNEL: ee SLACK_CHANNEL: ee
# SLACK_TITLE: "Failed ${{ github.workflow }}" SLACK_TITLE: "Failed ${{ github.workflow }}"
# SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff' SLACK_COLOR: ${{ job.status }} # or a specific color like 'good' or '#ff00ff'
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
# SLACK_USERNAME: "OR Bot" SLACK_USERNAME: "OR Bot"
# SLACK_MESSAGE: 'Build failed :bomb:' SLACK_MESSAGE: 'Build failed :bomb:'
# - name: Debug Job # - name: Debug Job
# if: ${{ failure() }} # if: ${{ failure() }}