Fix problems with Gruntfile and local dependencies
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ if [[ "$TARGET" == "new" ]]; then
|
||||
if grunt dist; then
|
||||
echo "Preparing to upload to S3..."
|
||||
s3cmd sync -r --delete-removed --add-header="cache-control:max-age=1800" "$ROOT/" "s3://new.$SITE/"
|
||||
grunt clean build
|
||||
grunt clean:dist build
|
||||
else
|
||||
echo "Aborting deployment"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user