From: Benjamin Auder Date: Sun, 9 Feb 2020 21:55:52 +0000 (+0100) Subject: Test post-update X-Git-Url: https://git.auder.net/variants/Cwda/current/img/cross.svg?a=commitdiff_plain;h=5a958354b8675886d7855ef036fa0eb1c433e45b;p=vchess.git Test post-update --- diff --git a/hooks/post-update.dist b/hooks/post-update.dist index 41590ea2..434b38c7 100755 --- a/hooks/post-update.dist +++ b/hooks/post-update.dist @@ -1,2 +1,3 @@ #!/bin/sh +# NOTE: the ssh part is not required if git repo and vchess are on the same server ssh user@server -t 'cd /path/to/vchess/client && git pull && npm run build'