fix asset ref; fix build/publish scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user