I would like to setup my CI/CD workflow to deploy to azure storage. I can do this easily:

az storage blob upload-batch --source out/build --destination $container_name --account-key $AZURE_STORAGE_KEY --account-name $AZURE_STORAGE_ACCOUNT

However, I am concerned about problems while the files are being uploaded. I currently use Azure web apps and this allows me to push to git and azure will automatically setup a new container on a commit and then switch from the old container once it is ready. Is there a similar process for the upload to blob storage? I am worried that the new index.html might be uploaded before some referenced js files are sent to the blob storage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.