mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-12-21 21:08:48 -05:00
9 lines
547 B
Plaintext
Executable File
9 lines
547 B
Plaintext
Executable File
./web-deploy
|
|
s3cmd sync ../build/www-prod/ s3://www.mailiverse.com/ --acl-public --delete-removed
|
|
|
|
echo putting files with cache control headers
|
|
s3cmd put ../build/www-prod/*.html s3://www.mailiverse.com/ --acl-public --add-header "Cache-Control: max-age:3600"
|
|
s3cmd put ../build/www-prod/*.txt s3://www.mailiverse.com/ --acl-public --add-header "Cache-Control: max-age:3600"
|
|
s3cmd put ../build/www-prod/mailiverse_gwt/mailiverse_gwt.nocache.js s3://www.mailiverse.com/mailiverse_gwt/ --acl-public --add-header "Cache-Control: no-cache"
|
|
echo done
|