diff options
| author | Ahmed <git@gumx.cc> | 2026-06-17 15:45:51 +0300 |
|---|---|---|
| committer | Ahmed <git@gumx.cc> | 2026-06-17 15:45:51 +0300 |
| commit | 2faa1fede9cfe79e2bc93e3e5e2444e4f54cb32b (patch) | |
| tree | 8cc2747ee551c51a075553f905156559ba0835dd /hooks | |
| parent | 12b6af597d9f3c463fdae9e59e3f5a432bf6c004 (diff) | |
fix: style, docs, and few routes
Diffstat (limited to 'hooks')
| -rw-r--r-- | hooks/post-receive | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index 3ecfd11..fe4f5f6 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -1,5 +1,6 @@ #!/bin/sh set -e +export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin WORK=/home/git/build/sites @@ -33,8 +34,11 @@ for SITE in irc.gumx.cc vpn.gumx.cc mail.gumx.cc pgp.gumx.cc wk.fo twt.gumx.cc f fi done +chmod +x /var/www/wk.fo/pks/cgi-bin/pgp-hkp.sh || true +chmod +x /var/www/pgp.gumx.cc/cgi-bin/pgp-hkp.sh || true + # 404 page for sites outside this hook -cp _shared/404.html /var/www/gumx.cc/404.html -cp _shared/404.html /usr/share/webapps/cgit/404.html +cp _shared/404.html /var/www/gumx.cc/404.html || true +cp _shared/404.html /usr/share/webapps/cgit/404.html || true echo "sites deployed" |
