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 e7239d6 commit 2649cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
# Check if the command was successful
if [ $exit_code -ne 0 ]; then
# Extract the error details
error_message=$(echo "$output" | grep -oP '(?<=ERROR: ).*')
# Extract error details from output
error_message=$(echo "$output" | grep -oP '(?<=ERROR: ).*' || echo "$output")
echo "Deployment failed with the following error:"
echo "$error_message"
Expand Down

0 comments on commit 2649cb5

Please sign in to comment.