My GitHub Actions -> Azure CI/CD pipeline broke!
·Apr 7, 2022·
1 min read
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/CLI@v1 with: inlineScript: az storage blob upload-batch --overwrite true --account-name $acct -d '$web' -s
After adding --overwrite true my pipeline works again, whew.
This came up while working on myCloud Resume Challenge. I hope to share a full write up of that in the near future.