Make sure files have public permissions
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ fi
|
|||||||
|
|
||||||
if grunt clean $BUILD_CMD; then
|
if grunt clean $BUILD_CMD; then
|
||||||
echo "Preparing to upload to S3..."
|
echo "Preparing to upload to S3..."
|
||||||
s3cmd sync -r --add-header="cache-control:max-age=1800" $SOURCE_DIR $TARGET_DIR
|
s3cmd sync -r -P --add-header="cache-control:max-age=1800" $SOURCE_DIR $TARGET_DIR
|
||||||
echo "S3 Upload Complete"
|
echo "S3 Upload Complete"
|
||||||
else
|
else
|
||||||
echo "ERROR: Building distribution failed. Aborting deployment!"
|
echo "ERROR: Building distribution failed. Aborting deployment!"
|
||||||
|
|||||||
Reference in New Issue
Block a user