1
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:
2019-04-01 15:43:25 -04:00
parent a898e5a8cb
commit 70762aa471

View File

@@ -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