1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-14 13:24:25 -04:00

YAML syntax fix

This commit is contained in:
2019-04-01 15:39:26 -04:00
parent ededcc05c4
commit a898e5a8cb

View File

@@ -45,11 +45,12 @@ deploy:
- aws s3 cp s3://$S3_BUCKET_NAME/jarvis.asc s3://$S3_BUCKET_NAME/jarvis.asc --content-type="text/plain; charset=utf-8" --cache-control "max-age=0, no-store, no-cache, must-revalidate" --content-disposition "inline; filename=\"jarvis.asc\"" --metadata-directive="REPLACE" - aws s3 cp s3://$S3_BUCKET_NAME/jarvis.asc s3://$S3_BUCKET_NAME/jarvis.asc --content-type="text/plain; charset=utf-8" --cache-control "max-age=0, no-store, no-cache, must-revalidate" --content-disposition "inline; filename=\"jarvis.asc\"" --metadata-directive="REPLACE"
# purge CloudFlare cache # purge CloudFlare cache
curl -X POST "https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE/purge_cache" \ - >-
-H "X-Auth-Email: $CLOUDFLARE_EMAIL" \ curl -X POST "https://api.cloudflare.com/client/v4/zones/${CLOUDFLARE_ZONE}/purge_cache"
-H "X-Auth-Key: $CLOUDFLARE_KEY" \ -H "X-Auth-Email: ${CLOUDFLARE_EMAIL}"
-H "Content-Type: application/json" \ -H "X-Auth-Key: ${CLOUDFLARE_KEY}"
--data '{"purge_everything":true}' -H "Content-Type: application/json"
--data '{"purge_everything":true}'
only: only:
- master - master