aboutsummaryrefslogtreecommitdiffstats
path: root/hooks/post-receive
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-14 16:40:28 +0300
committerAhmed <git@gumx.cc>2026-06-14 16:40:28 +0300
commit9f52213272ebc02109e5a313c7a67593b07998ef (patch)
tree6728d89a6c39b408241ba4ec4d4fef29ada0ea2d /hooks/post-receive
parent41f8d3025f041aaab98fcc3511cb6ec2198f76a7 (diff)
add: hooks and other vibed edits
Diffstat (limited to 'hooks/post-receive')
-rw-r--r--hooks/post-receive6
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"