1
0
Fork 0
forked from forgejo/forgejo

Use beforeCommit instead of baseCommit (#22949) (#22996)

Backport #22949
Fixes https://github.com/go-gitea/gitea/issues/22946
Probably related to https://github.com/go-gitea/gitea/issues/19530

Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
This commit is contained in:
Kyle D 2023-02-21 10:51:02 -05:00 committed by GitHub
parent 90982bffa5
commit 760cf419ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 109 additions and 10 deletions

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash
"/home/tris/Projects/go/src/code.gitea.io/gitea/gitea" hook --config='/home/tris/Projects/go/src/code.gitea.io/gitea/custom/conf/app.ini' post-receive
"$GITEA_ROOT/gitea" hook --config="$GITEA_ROOT/$GITEA_CONF" post-receive