My GitHub Actions -> Azure CI/CD pipeline broke!
I committed an update, and checked GitHub Actions log only to find the commit failed!
In the log it reads:
ErrorCode:BlobAlreadyExists
If you want to overwrite the existing one, please add --overwrite in your command.
Error: Error: az cli script failed.
Researching this error revealed this broke with an Azure CLI update version 2.34, here's the link to GitHub
To get around this, I needed to update main.yaml:
Run azure/[email protected]
with:
inlineScript:
az storage blob upload-batch --overwrite true --account-name $acct -d '$web' -s
After adding --overwrite true my pipeline works again, whew