Documentation
Connect Gitea, Forgejo or Codeberg
Deploy from Codeberg or any Gitea or Forgejo server with OAuth or an access token, with push webhooks, commit statuses and pull request previews.
Rebasable supports Codeberg and any Gitea or Forgejo instance that is reachable over https. Linked repositories deploy on every push, pull requests can get a preview with a comment holding its URL, and commits get a rebasable/<service> status.
Connect your account
Open Settings → Git providers, click Connect on the Gitea / Forgejo card and pick Codeberg, Forgejo or Gitea. For your own server, enter its URL, for example https://git.example.com.
OAuth
Click Continue with … and approve Rebasable on your server. If no OAuth app exists for that server yet, a team admin creates one:
-
On the server open Settings → Applications → Manage OAuth2 applications and create an application.
-
Redirect URI (use
forgejofor Forgejo and Codeberg,giteafor Gitea):https://dashboard.rebasable.com/api/v1/git/oauth/forgejo/callback https://dashboard.rebasable.com/api/v1/git/oauth/gitea/callback -
Keep it a confidential client.
-
Paste the Client ID and Client secret into the Connect dialog and click Save OAuth app.
Access token
Choose Access token and paste a token from Settings → Applications → Generate new token with the scopes write:repository, write:issue and read:user.
Deploy a repository
In New service, pick Gitea / Forgejo, choose the account, search the repository and pick a branch. Rebasable adds a repository webhook for pushes and pull requests, signed with HMAC. If it can’t (no admin rights on the repo), it checks the branch every 60 seconds instead.
From the CLI:
rebasable git connect codeberg
rebasable git connect gitea --url https://git.example.com --access-token <token>
rebasable services create --repo codeberg:ana/blog --branch main
Requirements for your own server
- It must be reachable from the internet over https with a valid certificate. Private network addresses are refused.
- To receive webhooks, it must be able to reach
https://api.rebasable.com. If outgoing requests are blocked, Gitea and Forgejo needapi.rebasable.comin[webhook] ALLOWED_HOST_LIST. Otherwise the service still syncs every 60 seconds.
Without connecting an account
Any Gitea, Forgejo or Codeberg URL also works as a plain Git URL, with a read-only deploy key for private repositories.