Move pre-rendered HTML to its own repository

This commit is contained in:
Andrew Miner
2015-04-24 14:13:58 -07:00
parent bca3e1242f
commit 36456ba2ab
4064 changed files with 1 additions and 394587 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ if [[ "$TARGET" == "new" ]]; then
find "$ROOT" -name ".DS_Store" 2>/dev/null | xargs rm &>/dev/null
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/"
s3cmd sync -r --add-header="cache-control:max-age=1800" "$ROOT/" "s3://new.$SITE/"
grunt clean:dist build
else
echo "Aborting deployment"