Upload item.json files to S3 during build
This commit is contained in:
+3
-2
@@ -36,6 +36,7 @@ GZIP="--add-header=content-encoding:gzip"
|
||||
CMD="sync $SOURCE_DIR $TARGET_DIR -r -F -P $HEADERS --stop-on-error --exclude=*"
|
||||
|
||||
echo "Preparing to upload to S3..."
|
||||
s3cmd $CMD -m 'image/png' --include="*.png" || exit 1
|
||||
s3cmd $CMD $GZIP -m 'text/plain' --include="*.cg" || exit 1
|
||||
s3cmd $CMD -m 'image/png' --include="*.png" || exit 1
|
||||
s3cmd $CMD $GZIP -m 'text/plain' --include="*.cg" || exit 1
|
||||
s3cmd $CMD $GZIP -m 'application/json' --include="*.json" || exit 1
|
||||
echo "S3 Upload Complete"
|
||||
|
||||
Reference in New Issue
Block a user