update git pre-push hook (rsync command)

main
Dominic Reich 1 year ago
parent 89440e2544
commit ff868b6653
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -32,7 +32,7 @@ fi
echo -n ">>> Pushing files to server..."
ret="$(rsync -avhzP --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)"
ret="$(rsync --no-motd -acvhzN --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)"
if [ "$?" -eq "0" ] ; then
echo " Success!"

Loading…
Cancel
Save