Re-create AE2 pre-render page

This commit is contained in:
Andrew Miner
2015-03-27 12:57:06 -07:00
parent 13f219421c
commit d1826c257b
2 changed files with 93 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ if [[ "$TARGET" == "" ]]; then
fi fi
if [[ "$TARGET" == "new" ]]; then if [[ "$TARGET" == "new" ]]; then
find "$ROOT" -name ".DS_Store" | xargs rm find "$ROOT" -name ".DS_Store" 2>/dev/null | xargs rm &>/dev/null
if grunt dist; then if grunt dist; then
echo "Preparing to upload to S3..." echo "Preparing to upload to S3..."
s3cmd sync -r --delete-removed --add-header="cache-control:max-age=1800" "$ROOT/" "s3://new.$SITE/" s3cmd sync -r --delete-removed --add-header="cache-control:max-age=1800" "$ROOT/" "s3://new.$SITE/"
File diff suppressed because one or more lines are too long