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 30, 2024
1 parent a254e45 commit e7cd8d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ jobs:
--template-file infra/main.bicep \
--parameters environmentName=pslautomation location=eastus2)
echo "::set-output name=output::$output"
echo "output=$output" >> $GITHUB_ENV
- name: Send Success Email
if: ${{ success() }}
run: echo "Deployment succeeded" | mail -s "Azure Deployment Success" v-pmalusare@microsoft.com

- name: Send Failure Email
if: ${{ failure() }}
run: echo "CWYD Deployment failed ${{ steps.deploy.outputs.output }}" | mail -s "Azure Deployment Failure" v-pmalusare@microsoft.com
run:
output = ${{ env.output }}
echo "CWYD Deployment failed $output" | mail -s "Azure Deployment Failure" v-pmalusare@microsoft.com

0 comments on commit e7cd8d8

Please sign in to comment.