Skip to content

Commit

Permalink
ci: purge fastly
Browse files Browse the repository at this point in the history
  • Loading branch information
1xfsanchez committed Jun 21, 2024
1 parent 2abbd75 commit 63cdf80
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,11 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- name: Purge Fastly
env:
FASTLY_ID: ${{ secrets.fastly_id }}
FASTLY_TOKEN: ${{ secrets.fastly_token }}
run: curl -XPOST "https://api.fastly.com/service/$FASTLY_ID/purge_all" \
-H "Fastly-Key: $FASTLY_TOKEN" \
-H "Accept: application/json"

0 comments on commit 63cdf80

Please sign in to comment.