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

17
_build/aws/publish.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# args: s3cmd-config
set -e
s3cmd sync \
--config "$1" \
--acl-public \
--no-delete-removed \
--no-preserve \
--exclude 'private/*' \
--exclude 'asset/*' \
--add-header 'cache-control:max-age=3600' \
--verbose \
"$ARTIFACT_PATH" \
s3://dpb587-us-west-2