mailiverse/deploy/dev-web-deploy-s3
2013-08-09 17:31:37 -04:00

8 lines
409 B
Plaintext
Executable File

./web-deploy
s3cmd sync www/ s3://www.mailiverse.com/beta/ --acl-public --delete-removed
echo putting files with cache control headers
s3cmd put www/index.html s3://www.mailiverse.com/beta/ --acl-public --add-header "Cache-Control: max-age:3600"
s3cmd put www/mailiverse_gwt/mailiverse_gwt.nocache.js s3://www.mailiverse.com/beta/mailiverse_gwt/ --acl-public --add-header "Cache-Control: no-cache"
echo done