diff options
Diffstat (limited to 'hooks')
| -rw-r--r-- | hooks/post-receive | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/post-receive b/hooks/post-receive new file mode 100644 index 0000000..8ba2d97 --- /dev/null +++ b/hooks/post-receive @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +cd /home/git/build/ugi +python3 web/scripts/gen_tool.py spec/ugi_registry_v0.json /var/www/ugi.gumx.cc/index.html +rsync -rlptD fonts/ /var/www/ugi.gumx.cc/fonts/ +echo "ugi deployed" |
