From e7cd8d895c113a7e6f7e4309afe351945524dda5 Mon Sep 17 00:00:00 2001 From: Prashant-Microsoft Date: Fri, 30 Aug 2024 12:22:27 +0530 Subject: [PATCH] testing automation flow --- .github/workflows/deploy-stage.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-stage.yml b/.github/workflows/deploy-stage.yml index 049af5c4e..eb13b2047 100644 --- a/.github/workflows/deploy-stage.yml +++ b/.github/workflows/deploy-stage.yml @@ -39,7 +39,7 @@ 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() }} @@ -47,4 +47,6 @@ jobs: - 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