Skip to content

Commit

Permalink
Error handling improvements (#33)
Browse files Browse the repository at this point in the history
* Improve parse errors #3, and avoid cache if it fails #31

* add version string to deploy script
  • Loading branch information
nearwood authored Nov 5, 2019
1 parent 931aedf commit b6bfa88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ ssh-add .travis/id_rsa

#TODO Run backup script on remote

git rev-parse HEAD | cut -b -7 > src/VERSION

rsync -av --delete --exclude-from 'deploy_excludes.txt' -e "ssh -o StrictHostKeyChecking=no" src/ $DEPLOY_HOST/

rm .travis/id_rsa
#cp -v VERSION $DEPLOY_DIR/ > /dev/null 2>&1

0 comments on commit b6bfa88

Please sign in to comment.