summaryrefslogtreecommitdiffstats
path: root/hooks/post-receive
diff options
context:
space:
mode:
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"