fix: remove push preflight from forgejo mirror sync

This commit is contained in:
Ashwin Kumar Sivakumar 2026-06-11 19:29:41 +05:30
parent 3ccbdfb322
commit 3866c66e5f

View file

@ -35,7 +35,5 @@ jobs:
test -n "${FORGEJO_SECRET:-}" || (echo "FORGEJO_SECRET empty" && exit 1)
curl -fsS -H "Authorization: Basic ${AUTH}" https://ci.nxtgauge.com/api/v1/user >/dev/null
curl -fsS -H "Authorization: Basic ${AUTH}" "${TARGET}/info/refs?service=git-receive-pack" >/dev/null
curl -fsS -X POST -H "Authorization: Basic ${AUTH}" "https://ci.nxtgauge.com/api/v1/repos/${FORGEJO_OWNER}/${REPO}/mirror-sync" >/dev/null