Skip to content

Instantly share code, notes, and snippets.

@murielsilveira
Created February 2, 2017 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save murielsilveira/44efe50d8ccaffa0265d33ede6d74036 to your computer and use it in GitHub Desktop.
Save murielsilveira/44efe50d8ccaffa0265d33ede6d74036 to your computer and use it in GitHub Desktop.
pip install awscli
aws s3 rm s3://<bucket-name> --recursive
aws s3 sync dist s3://<bucket-name> --acl public-read --cache-control "public, max-age=86400"
aws s3 cp dist/index.html s3://<bucket-name>/index.html --acl public-read --cache-control "public, max-age=60"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment