floo apps github.
connect
Connect a GitHub repo to an app for auto-deploy. Opens browser to install the GitHub App if not already installed. Triggers an initial deploy after connecting.Flags
| Flag | Description | Default |
|---|---|---|
--app APP | App name or UUID | — |
--branch BRANCH | Branch to deploy from | main |
--skip-env-check | Skip environment variable validation | — |
--no-deploy | Connect without triggering an initial deploy | — |
--no-browser | Error cleanly if the GitHub App is not installed instead of opening a browser. Required for agents and CI. | — |
Agent / CI usage
In--json mode, --no-browser is implied — the CLI never tries to open a browser. If the Floo GitHub App is not yet installed on the org, connect fails with GITHUB_APP_NOT_INSTALLED and a human needs to install it once from:
connect and subsequent pushes deploy automatically.
Examples
JSON output
disconnect
Disconnect a GitHub repo from an app.Flags
| Flag | Description |
|---|---|
--app APP | App name or UUID |
JSON output
status
Show GitHub connection status (repo, branch, connected date).Flags
| Flag | Description |
|---|---|
--app APP | App name or UUID |
JSON output
Errors
| Code | Meaning |
|---|---|
NOT_AUTHENTICATED | Run floo auth login first |
APP_NOT_FOUND | No app with that name or ID |
GITHUB_APP_NOT_INSTALLED | Install the floo GitHub App first. Browser will open automatically. |
GITHUB_REPO_NOT_IN_INSTALLATION | The GitHub App is installed but does not have access to this repo. Update app permissions in GitHub. |
GITHUB_ALREADY_CONNECTED | This app already has a GitHub repo connected. Disconnect first with floo apps github disconnect. |
GITHUB_REPO_NOT_ACCESSIBLE | Cannot access the repo. Check that it exists and you have permission. |
GITHUB_NOT_CONNECTED | No GitHub repo connected. Connect one with floo apps github connect. |