diff options
Diffstat (limited to 'hooks/post-receive')
| -rw-r--r-- | hooks/post-receive | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index 8251ac0..d56f9aa 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -1,7 +1,8 @@ #!/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 +mkdir -p /var/www/ugi.gumx.cc/specs /var/www/ugi.gumx.cc/encoder /var/www/ugi.gumx.cc/decoder /var/www/ugi.gumx.cc/converter +python3 web/scripts/gen_tool.py spec/ugi_registry_v0.json /var/www/ugi.gumx.cc/ rsync -rlptD fonts/ /var/www/ugi.gumx.cc/fonts/ cp web/favicon.svg /var/www/ugi.gumx.cc/favicon.svg cat > /var/www/ugi.gumx.cc/404.html <<'HTMLEOF' @@ -34,7 +35,7 @@ footer { margin-top: 3em; } </head> <body> <header> -<nav><strong><a href="https://gumx.cc">gumx</a></strong></nav> +<nav><strong><a href="https://gumx.cc">gumx</a></strong> / <a href="https://ugi.gumx.cc">ugi</a></nav> </header> <main> <h1>404</h1> @@ -45,12 +46,16 @@ footer { margin-top: 3em; } <a href="https://twt.gumx.cc">twt</a> / <a href="https://git.gumx.cc">git</a> / <a href="https://mail.gumx.cc">mail</a> / +<a href="https://list.gumx.cc">list</a> / <a href="https://irc.gumx.cc">irc</a> / <a href="https://files.gumx.cc">files</a> / <a href="https://vpn.gumx.cc">vpn</a> / <a href="https://pgp.gumx.cc">pgp</a> / <a href="https://demo.gumx.cc">demo</a> / <a href="https://wk.fo">wk.fo</a> +<br> +<a href="https://git.gumx.cc/ugi">source</a> / +<a href="https://gumx.cc/license">license</a> </footer> </body> </html> |
