Skip to content

Commit

Permalink
Deploy workflow: Using ::warning:: for pre-existing environments
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-basevi committed Aug 20, 2024
1 parent c36f519 commit cc6083b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
mkdir ${{ env.PAYU_ENVIRONMENT_LOCATION }}
if [ $? -ne 0 ]; then
# Replace pre-existing environment
echo "Removing pre-existing environment at: ${{ env.PAYU_ENVIRONMENT_LOCATION }}"
echo "::warning::Removing pre-existing environment at: ${{ env.PAYU_ENVIRONMENT_LOCATION }}"
rm -rf "${{ env.PAYU_ENVIRONMENT_LOCATION }}"
mkdir ${{ env.PAYU_ENVIRONMENT_LOCATION }}
fi
Expand Down

0 comments on commit cc6083b

Please sign in to comment.