fix asset ref; fix build/publish scripts

This commit is contained in:
Danny Berger
2014-03-27 16:33:37 -06:00
parent 8c20c0b4f8
commit 8321a7998f
6 changed files with 30 additions and 9 deletions

View File

@@ -4,6 +4,22 @@
set -e
cd "$ARTIFACT_PATH"
cd static/
s3cmd sync \
--config "$1" \
--acl-public \
--no-delete-removed \
--no-preserve \
--add-header 'cache-control:max-age=604800' \
--verbose \
. \
s3://dpb587-us-west-2/static/
cd ../
s3cmd sync \
--config "$1" \
--acl-public \
@@ -11,7 +27,8 @@ s3cmd sync \
--no-preserve \
--exclude 'private/*' \
--exclude 'asset/*' \
--exclude 'static/*' \
--add-header 'cache-control:max-age=3600' \
--verbose \
"$ARTIFACT_PATH" \
. \
s3://dpb587-us-west-2