X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=hooks%2Fpost-update.dist;h=434b38c7b52c99af3e1ebc8df1a3d8830e7ffbee;hp=41590ea2764bb0e0ba9bd58c6af3a848dafcf4a8;hb=5a958354b8675886d7855ef036fa0eb1c433e45b;hpb=c20d3a0492949db984d1aba3621ad36bc9ada908 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'