connect-github
What it does
Section titled “What it does”Links a GitHub repository to a Mistflow project. After connecting, every deploy also pushes the latest code to the linked repo.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectPath | string | No | Path to the project directory (default: cwd) |
repo | string | Yes | GitHub repository in owner/name format |
- Initiates GitHub OAuth (opens the user’s browser)
- User authorizes Mistflow
- Links the repo to the project
- Enables auto-sync
- Requires a GitHub account with write access to the target repo.
- Auto-sync pushes to the
mainbranch by default (configurable in dashboard). - See the GitHub Integration guide for details.