Skip to content

Commit

Permalink
include an optional --overwrite flag if the initial storage blob fail…
Browse files Browse the repository at this point in the history
…s to update during a deploy (#3550)
  • Loading branch information
alismx authored Mar 11, 2022
1 parent 4563da4 commit e51c4dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/deploy-application/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@ runs:
echo "::group::Deploy frontend app"
az storage blob upload-batch -s client-build/ -d '$web' \
--account-name simplereport${{ inputs.deploy-env }}app \
--destination-path '/app'
--destination-path '/app' || \
az storage blob upload-batch -s client-build/ -d '$web' \
--account-name simplereport${{ inputs.deploy-env }}app \
--destination-path '/app' \
--overwrite
echo "::endgroup::"

0 comments on commit e51c4dd

Please sign in to comment.