summaryrefslogtreecommitdiffstats
path: root/hooks/post-receive
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-14 20:31:27 +0300
committerAhmed <git@gumx.cc>2026-06-14 20:31:27 +0300
commitc1c845e8ce34b263f0be5f91b20719def3777fed (patch)
tree4508d772874423e26504e79179181e741d910628 /hooks/post-receive
parent1dd99e3ddd41f63a31715031cbabbd0aa53a1849 (diff)
fix: 404 page, pgp cgi script, and other varios vibed fixes
Diffstat (limited to 'hooks/post-receive')
-rw-r--r--hooks/post-receive5
1 files changed, 5 insertions, 0 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index 13e562e..3ecfd11 100644
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -29,7 +29,12 @@ for SITE in irc.gumx.cc vpn.gumx.cc mail.gumx.cc pgp.gumx.cc wk.fo twt.gumx.cc f
esac
mkdir -p "$WEBROOT/fonts"
rsync -rlptD fonts/ "$WEBROOT/fonts/"
+ cp _shared/404.html "$WEBROOT/404.html"
fi
done
+# 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
+
echo "sites deployed"