Setup a CI/CD pipeline for your static website. In this video I show you how to setup the build and release. As well as some important steps to include in your release.
If you want to support me, I like coffee ☕ https://ko-fi.com/billytech
Unzip
$(System.DefaultWorkingDirectory)/_Static-Site-CI/drop/$(Build.BuildId).zip
$(System.DefaultWorkingDirectory)/_Static-Site-CI/unzip
Azure Blob Clean
az storage blob delete-batch --account-name billytechstatic --source $web
AzureBlob File Copy
$(System.DefaultWorkingDirectory)/_Static-Site-CI/unzip
Azure CDN Purge
az cdn endpoint purge -g LinuxResourceGroup -n billytechstatic --profile-name billytechstatic --content-paths '/*' '/'