668 B
668 B
| title | date | draft | snippet_types | ||
|---|---|---|---|---|---|
| aws s3 sync | 2020-01-11T04:43:43+01:00 | false |
|
$ aws s3 sync --acl public-read --sse AES256 build/ s3://travisshears.com
Having the ability to send a site live with a single command is heaven and not a BASH script with a bunch of moving parts liable to break. This command takes me back to the old days when putting a site live meant an FTP upload command to a server letting Apache take care of the rest. This site, for example, is hosted in an AWS S3 bucket that is connected to AWS CloudFront.
inspiration:
lustforge - great blog post