From 79ff2f070e4953e13c9bbf8a7ffb42b45ef0f1e8 Mon Sep 17 00:00:00 2001 From: Julian Poyourow Date: Tue, 16 Apr 2019 00:06:34 -0700 Subject: [PATCH] Deploy no longer overwrites old source hashes This fixes errors trying to lazyload pages. Probably want to be on the lookout for conflicting files and stale (very old) deploy files lingering. For now, this is a decent fix. --- deploy-prod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-prod.sh b/deploy-prod.sh index 5951a1a25..89e91a1c8 100755 --- a/deploy-prod.sh +++ b/deploy-prod.sh @@ -15,7 +15,7 @@ if [ $? -eq 0 ]; then rm deploy-prod.tgz - ssh julian@recipesage.com 'cd /var/www/recipesage.com; rm -rf ./*; tar -zxvf /tmp/deploy-prod.tgz; mv www/* .' + ssh julian@recipesage.com 'cd /var/www/recipesage.com; tar -zxvf /tmp/deploy-prod.tgz; rsync -av www/* .; rm -rf www' else echo FAIL fi