Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (21 sloc) 749 Bytes
# push to github
echo "Pushing to Github..."
git push origin master
# sync with S3
echo "Syncing S3..."
aws s3 sync . s3:// \
--exclude "node_modules/*" \
--exclude ".*" \
--acl public-read
# purge cloudflare cache
echo "Purging CloudFlare cache..."
curl -X DELETE "$CLOUDFLARE_ZONE_ID/purge_cache" \
-H "Content-Type: application/json" \
--data '{"purge_everything":true}'
echo "\n"
echo "Uploading site maps to Google"
# notify google of sitemap change
curl ''