Upload item.json files to S3 during build
This commit is contained in:
@@ -38,4 +38,5 @@ CMD="sync $SOURCE_DIR $TARGET_DIR -r -F -P $HEADERS --stop-on-error --exclude=*"
|
|||||||
echo "Preparing to upload to S3..."
|
echo "Preparing to upload to S3..."
|
||||||
s3cmd $CMD -m 'image/png' --include="*.png" || 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 'text/plain' --include="*.cg" || exit 1
|
||||||
|
s3cmd $CMD $GZIP -m 'application/json' --include="*.json" || exit 1
|
||||||
echo "S3 Upload Complete"
|
echo "S3 Upload Complete"
|
||||||
|
|||||||
Reference in New Issue
Block a user