Make sure files have public permissions

This commit is contained in:
Andrew Miner
2015-08-02 20:15:08 -07:00
parent b12fba54af
commit 0c17a43bae
+1 -1
View File
@@ -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!"