Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6a7eb3 commit d85b9f6Copy full SHA for d85b9f6
.github/workflows/render.yml
@@ -39,3 +39,11 @@ jobs:
39
branch: gh-pages # The branch to deploy to.
40
folder: build # Synchronise with build.py -> build_directory
41
single-commit: true # Delete existing files
42
+
43
+ - name: ♻️ Purge CDN cache
44
+ if: github.ref == 'refs/heads/main'
45
+ run: |
46
+ curl -H "Accept: application/json" -H "Fastly-Key: $FASTLY_TOKEN" -X POST "https://api.fastly.com/service/$FASTLY_SERVICE_ID/purge_all"
47
+ env:
48
+ FASTLY_TOKEN: ${{ secrets.FASTLY_TOKEN }}
49
+ FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }}
0 commit comments