mailiverse/deploy/dev-web-deploy-s3

8 lines
448 B
Plaintext
Raw Normal View History

2013-08-09 17:31:37 -04:00
./web-deploy
2013-09-02 13:20:56 -04:00
s3cmd sync ../build/www-dev/ s3://www.mailiverse.com/beta/ --acl-public --delete-removed
2013-08-09 17:31:37 -04:00
echo putting files with cache control headers
2013-09-02 13:20:56 -04:00
s3cmd put ../build/www-dev/index.html s3://www.mailiverse.com/beta/ --acl-public --add-header "Cache-Control: max-age:3600"
s3cmd put ../build/www-dev/mailiverse_gwt/mailiverse_gwt.nocache.js s3://www.mailiverse.com/beta/mailiverse_gwt/ --acl-public --add-header "Cache-Control: no-cache"
2013-08-09 17:31:37 -04:00
echo done