update build/publish scripts; gallery changes

This commit is contained in:
Danny Berger
2014-03-27 16:11:42 -06:00
parent 9877fc69a7
commit 8c20c0b4f8
13 changed files with 145 additions and 77 deletions

14
_build/aws/publish-asset.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# args: s3cmd-config
set -e
s3cmd sync \
--config "$1" \
--acl-public \
--no-preserve \
--add-header 'cache-control:max-age=86400' \
--verbose \
"./asset/$2" \
"s3://dpb587-assets-us-west-2/asset/$2"