There was an error while loading. Please reload this page.
1 parent 02c599b commit 5f09b66Copy full SHA for 5f09b66
1 file changed
deployment/remote_deploy_script
@@ -11,7 +11,7 @@ cd /home/web2py/__SSH_HOSTNAME__/applications/OZtree
11
echo "Checking out $1"
12
GIT_SHA=$1
13
export GIT_SHA
14
-su -m web2py -c 'git fetch origin && git reset --hard -- "$GIT_SHA"'
+su -m web2py -c 'git fetch origin && git checkout --detach "$GIT_SHA"'
15
su -m web2py -c 'grunt dev'
16
supervisorctl restart '__SSH_HOSTNAME__:*'
17
0 commit comments