Created
February 2, 2017 18:00
-
-
Save murielsilveira/44efe50d8ccaffa0265d33ede6d74036 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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