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 Sep 6, 2024
1 parent b4cce6f commit a8ac906
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
set -e
# Execute the deployment and capture both output and errors
result=$(az deployment sub create \
output=$(az deployment sub create \
--name autoDemo \
--location eastus \
--template-file infra/main.bicep \
Expand All @@ -57,11 +57,11 @@ jobs:
# Check if the command was successful
if [ $? -ne 0 ]; then
echo "Deployment failed with the following error:"
echo "$result"
echo "$output"
exit 1
else
echo "Deployment succeeded."
echo "$result"
echo "$output"
fi
Expand Down

0 comments on commit a8ac906

Please sign in to comment.