[SOLVED] "Branch Not Match" with forgejo webhook
i tried autodeploy with forgejo. branch is "main" in both forgejo and my dokploy project provider.
forgejo triggers the webhook after pushes but reports a
301 - {"message":"Branch Not Match"}
every time. any ideas?4 Replies
You are pushing on a different branch that dokploy branch currently have
i'm pushing on main. currently, there is only this one branch.
and in dokploy:

changing the webhook http method to POST (instead of GET) in forgejo fixed the issue.