stride3d / stride-docs

This repository hosts the source code for the Stride documentation. Contributors can follow the build instructions provided to run the website locally.
https://doc.stride3d.net/
MIT License
31 stars 65 forks source link

Automatically purge Azure CDN cache from GitHub Action #85

Open xen2 opened 2 years ago

xen2 commented 2 years ago

Since we migrated from Stackpath CDN to Azure CDN (generously provided by .NET Foundation), deployment doesn't purge the cache so it takes several hours to propagate changes. After a quick investigation, it seems we currently don't have enough Azure permissions to generate a token to access Azure REST API. We'll either need to get proper permissions or find some alternative way to trigger this cache purge.

VaclavElias commented 12 months ago

@xen2 I found this example https://gist.github.com/lynshi/6f4efd7a2ddb39e814cd79d03a26dbbd

Do we need to speak to .NET Foundation to assist us with this?