Skip to content

Commit

Permalink
better alerting?
Browse files Browse the repository at this point in the history
  • Loading branch information
lobeto99 committed Dec 6, 2024
1 parent c87f9b3 commit 6855742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/template-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
env=$ENV region=us-east-1 ns=$NS image_tag=$IMAGE_TAG helmfile -f stable/$SERVICE.yaml sync
- name: Post failed status dev
if: ${{ always() && steps.Helm-sync.outcome == 'failed' && github.actor != 'renovate[bot]' && inputs.env == 'dev'}}
if: ${{ always() && steps.Helm-sync.outcome != 'success' && github.actor != 'renovate[bot]' && inputs.env == 'dev'}}
uses: act10ns/[email protected]
with:
status: ${{ steps.Helm-sync.outcome }}
Expand All @@ -81,7 +81,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

- name: Post failed status prod
if: ${{ always() && steps.Helm-sync.outcome == 'failed' && github.actor != 'renovate[bot]' && inputs.env == 'prod'}}
if: ${{ always() && steps.Helm-sync.outcome != 'success' && github.actor != 'renovate[bot]' && inputs.env == 'prod'}}
uses: act10ns/[email protected]
with:
status: ${{ steps.Helm-sync.outcome }}
Expand Down

0 comments on commit 6855742

Please sign in to comment.