#!/usr/bin/env bash # Auto-generated loop delegates to gitea hook; inject INTERNAL_PUSH so the # custom build's pre-receive accepts the push (HTTP push path omits this var). export GITEA_INTERNAL_PUSH=true /usr/local/bin/gitea hook --config=/etc/gitea/app.ini pre-receive