projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test post-update hook
[vchess.git]
/
hooks
/
post-update.dist
diff --git
a/hooks/post-update.dist
b/hooks/post-update.dist
index
41590ea
..
434b38c
100755
(executable)
--- a/
hooks/post-update.dist
+++ b/
hooks/post-update.dist
@@
-1,2
+1,3
@@
#!/bin/sh
#!/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'
ssh user@server -t 'cd /path/to/vchess/client && git pull && npm run build'