fix git hook `pre-push`

- failed to rsync files before push because of `-N`
main
Dominic Reich 1 year ago
parent 676971d2de
commit 8904e88530
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

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

Loading…
Cancel
Save