mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-13 07:35:35 -04:00
stupid curl and yaml syntax
This commit is contained in:
@@ -46,11 +46,7 @@ deploy:
|
||||
|
||||
# purge CloudFlare cache
|
||||
- >-
|
||||
curl -X POST "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE}/purge_cache"
|
||||
-H "X-Auth-Email: ${CLOUDFLARE_EMAIL}"
|
||||
-H "X-Auth-Key: ${CLOUDFLARE_KEY}"
|
||||
-H "Content-Type: application/json"
|
||||
--data '{"purge_everything":true}'
|
||||
curl -X POST "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE}/purge_cache" -H "X-Auth-Email: ${CLOUDFLARE_EMAIL}" -H "X-Auth-Key: ${CLOUDFLARE_KEY}" -H "Content-Type: application/json" --data '{"purge_everything":true}'
|
||||
|
||||
only:
|
||||
- master
|
||||
|
Reference in New Issue
Block a user