Add post about automatically purging the cache with Bunny, and add the other purge calls to the action
Build and copy to prod / build-and-copy (push) Successful in 2m5s
Build and copy to prod / build-and-copy (push) Successful in 2m5s
This commit is contained in:
1 parent
da167b3fba
commit
c3c1251dfd
2 files changed
+73
-12
No files matched your search
@@ -40,15 +40,13 @@ jobs:
|
||||
curl --request POST \
|
||||
--url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.xml&async=false' \
|
||||
--header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}'
|
||||
# - name: Purge JSON files from cache
|
||||
# run:
|
||||
# - |
|
||||
# curl --request POST
|
||||
# --url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.json&async=false'
|
||||
# --header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}'
|
||||
# - name: Purge CSS files from cache
|
||||
# run:
|
||||
# - |
|
||||
# curl --request POST
|
||||
# --url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.css&async=false'
|
||||
# --header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}'
|
||||
- name: Purge JSON files from cache
|
||||
run: |
|
||||
curl --request POST \
|
||||
--url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.json&async=false' \
|
||||
--header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}'
|
||||
- name: Purge CSS files from cache
|
||||
run: |
|
||||
curl --request POST \
|
||||
--url 'https://api.bunny.net/purge?url=https%3A%2F%2Flewisdale.dev%2F%2A.css&async=false' \
|
||||
--header 'AccessKey: ${{ secrets.BUNNY_ACCESS_KEY }}'
|
||||
Reference in new issue
Block a user