Try to fix yaml
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m0s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m0s
This commit is contained in:
parent
b27b26904b
commit
da167b3fba
@ -36,20 +36,19 @@ jobs:
|
||||
- name: Copy _site to prod
|
||||
run: scp -rp _site/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/blog/
|
||||
- name: Purge XML files from cache
|
||||
run:
|
||||
- |
|
||||
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'
|
||||
run: |
|
||||
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 }}'
|
Loading…
Reference in New Issue
Block a user