Gotcha with CICD and Azure Static WebApps
If you lost your token on an Azure Static WebApp integrated with GitHub you could be SOL
If you are ever in the unfortunate situation where your token thats issued when you create an Azure Static Web App is unobtainable or destroyed
and you are trying to CI/CD from your Repo in GitHub you will get an error in your deployment pipeline in GitHub Actions. To remedy the issue you can reset your Token in the Azure Portal and then create a new GitHub Secret in the Repo with the new reset token GUID and you will be all sorted. Want to see how, keep reading…