Skip to content

Commit

Permalink
Merge pull request #241 from julianpoy/deploy-no-overwrite
Browse files Browse the repository at this point in the history
Deploy no longer overwrites old source hashes
  • Loading branch information
julianpoy authored Apr 16, 2019
2 parents 582761c + 79ff2f0 commit a2767e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a2767e0

Please sign in to comment.