Skip to content

Instantly share code, notes, and snippets.

Kevin Dice kevindice

View GitHub Profile
kevindice /
Created Jan 27, 2019
A shell script for uploading a React app build to S3 + CloudFront for deployment
# Sync all files except for service-worker and index
echo "Uploading files to $S3_BUCKET_NAME..."
aws s3 sync build s3://$S3_BUCKET_NAME/ \
--acl public-read \
--exclude service-worker.js \
You can’t perform that action at this time.