gerrit: add ref-updated hook to poke forgejo

This has been deployed already.

Technically depends on I26531818a395de2a8bb6054d2583881fd1d5b806 as this
has been deployed on top of that.

Change-Id: I1b8d453d04f3a9a5435ae0dd6575f82d9ca10db7
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1681
Reviewed-by: informatic <informatic@hackerspace.pl>
diff --git a/devtools/gerrit/entrypoint.sh b/devtools/gerrit/entrypoint.sh
index f303263..fe903a0 100755
--- a/devtools/gerrit/entrypoint.sh
+++ b/devtools/gerrit/entrypoint.sh
@@ -18,6 +18,8 @@
 cp /var/gerrit-secure/secure.config /var/gerrit/etc/secure.config
 
 cp /var/gerrit-plugins/* /var/gerrit/plugins/
+mkdir -p /var/gerrit/hooks/
+cp /var/gerrit-hooks/* /var/gerrit/hooks/
 
 mkdir -p /var/gerrit/static
 cp -r /var/gerrit-theme/*png /var/gerrit/static/