Skip to content

Commit

Permalink
Wait before flushing CDN caches to ensure a clean deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Feb 6, 2024
1 parent 2f7de95 commit ea9fb98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ jobs:

- name: Flush CDN cache
run: |
# Wait a little - the reploy commands don't wait for the container to start up
sleep 30
# Clear CDN cache to re-request content:
curl -f --request POST \
--url https://api.bunny.net/pullzone/$PULL_ZONE_ID/purgeCache \
Expand Down

0 comments on commit ea9fb98

Please sign in to comment.