diff --git a/server/deploy.sh b/server/deploy.sh index 24d8f499..17717fce 100755 --- a/server/deploy.sh +++ b/server/deploy.sh @@ -15,6 +15,9 @@ do_as() { sudo -u $1 --preserve-env=PATH bash -s } +cd /home/hmn/hmn +old_rev=$(git log -1 --pretty=format:%H) + do_as hmn <