From 0ec909a11e5b8741f027d285bf8033a0c46033ae Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Sun, 22 Feb 2015 23:16:32 -0800 Subject: [PATCH] Don't re-build for a promote --- scripts/deploy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/deploy b/scripts/deploy index b6b32b67e..5c03b8a7c 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -22,9 +22,7 @@ if [[ "$TARGET" == "new" ]]; then find $ROOT -name ".DS_Store" | xargs rm grunt clean dist aws s3 sync $ROOT s3://new.$SITE --delete + grunt clean build elif [[ "$TARGET" == "promote" ]]; then aws s3 sync s3://new.$SITE s3://$SITE --delete fi - -grunt clean build -