Skip to content

Commit

Permalink
testing automation flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashant-Microsoft committed Aug 29, 2024
1 parent d415404 commit 3bab579
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
- name: Install Bicep CLI
run: az bicep install

- name: Install mailx
run: sudo apt-get update && sudo apt-get install -y mailx
- name: Install mail
run: sudo apt-get update && sudo apt-get install -y mail

- name: Deploy Bicep Template
run: |
Expand All @@ -40,8 +40,8 @@ jobs:
- name: Send Success Email
if: ${{ success() }}
run: echo "Deployment succeeded" | mailx -s "Azure Deployment Success" v-pmalusare@microsoft.com
run: echo "Deployment succeeded" | mail -s "Azure Deployment Success" v-pmalusare@microsoft.com

- name: Send Failure Email
if: ${{ failure() }}
run: echo "Deployment failed" | mailx -s "Azure Deployment Failure" v-pmalusare@microsoft.com
run: echo "Deployment failed" | mail -s "Azure Deployment Failure" v-pmalusare@microsoft.com

0 comments on commit 3bab579

Please sign in to comment.