The fortrabbit GitHub App

🐙

Git push to deploy.

The fortrabbit GitHub App connects GitHub repositories to fortrabbit. A repo maps to an app, a branch to an environment, and every push to that branch deploys.

Get ready

Installation

Install the fortrabbit GitHub App on GitHub, during the sign-up with GitHub or later in the account settings of the dashboard. GitHub asks for:

  • The account or organization to install it on
  • Access to the repos, and permission to create repos

Connect, create or change a repo

A Git repo maps to an app on fortrabbit. Creating an app asks for an existing repo or creates a new empty one. The repo of an app can be changed later.

Connect, create or change a branch

A Git branch maps to an environment. Create one environment per branch, for example main for production and staging for a staging environment.

Repos from organizations at GitHub

Repos of a GitHub organization are available once the fortrabbit GitHub App is installed on that organization.

Who can deploy

By default, every push to the connected branch deploys, no matter who sent it. Limit git push deployments to developers connected to the app with the deployment permission setting of the environment.

GitHub Actions

GitHub Actions run tests or other steps before code reaches fortrabbit. Combine them with the Git deployment, a deploy hook or code access. See GitHub with an example.

Removing access

Uninstalling the fortrabbit GitHub App on GitHub stops all deployments of the connected apps. Closing a fortrabbit account does not uninstall the app on GitHub.

Written by a human. Review, grammar checks and typo fixes by AI.

AI use & editorial processEdit on GitHub ↗