Connecting GitHub
Quant uses a GitHub App to automate deployments. Once connected, the dashboard can create repositories, detect your framework, set up secrets, generate CI/CD workflows, and trigger deployments — all without leaving Quant.
How it works
Section titled “How it works”Quant connects to GitHub through a GitHub App (not a personal access token or OAuth app). This gives you:
- Fine-grained permissions — Quant only accesses the repositories you choose
- Organisation-level installation — Install once, share across your team
- Short-lived tokens — Access tokens expire automatically and are never stored long-term
- Revocable access — Disconnect at any time from the Quant dashboard or GitHub
Install during the wizard
Section titled “Install during the wizard”When you create a project using the template wizard or repository import, Quant prompts you to connect GitHub if you haven’t already.
- Click Connect GitHub when prompted
- Authorise the Quant GitHub App in the popup
- Select repositories — choose specific repos or grant access to all repos in your account or organisation
- You’re returned to the wizard automatically
Install from GitHub
Section titled “Install from GitHub”You can also install the Quant GitHub App proactively before starting a wizard:
- Visit the Quant GitHub App page on GitHub
- Click Install
- Select the account or organisation to install on
- Choose All repositories or Only select repositories
- Click Install
Once installed, the app appears automatically in the Quant dashboard the next time you use a deployment wizard.
Manage your connection
Section titled “Manage your connection”View connected accounts
Section titled “View connected accounts”In the Quant dashboard, your GitHub installations are visible when you start any deployment wizard. Each installation shows the account name and the repositories it can access.
Change repository access
Section titled “Change repository access”To add or remove repositories from an existing installation:
- Go to GitHub → Settings → Applications → Installed GitHub Apps
- Find QuantCDN and click Configure
- Under Repository access, add or remove repositories
- Click Save
Changes take effect immediately in the Quant dashboard.
Disconnect
Section titled “Disconnect”To remove Quant’s access to your GitHub account:
- Go to GitHub → Settings → Applications → Installed GitHub Apps
- Find QuantCDN and click Configure
- Click Uninstall at the bottom of the page
Permissions
Section titled “Permissions”The Quant GitHub App requests the following permissions:
| Permission | Access | Used for |
|---|---|---|
| Contents | Read & Write | Reading repository files for framework detection, creating workflow files, committing changes |
| Secrets | Write | Setting deployment tokens and credentials as encrypted repository secrets |
| Variables | Read & Write | Storing non-sensitive configuration like project names and API endpoints |
| Actions | Read | Monitoring workflow runs and deployment status |
| Pull Requests | Read & Write | Creating PRs with deployment workflow files when importing a repository |
| Metadata | Read | Listing repositories and basic repository information |
Security
Section titled “Security”- Encrypted secrets — All secrets are encrypted using libsodium sealed boxes with the repository’s public key before being sent to GitHub. Quant never stores your deployment tokens after setup.
- Short-lived tokens — The GitHub App uses JWTs that expire after 10 minutes, and installation tokens that expire after 1 hour.
- HTTPS only — All communication between Quant and GitHub uses TLS-encrypted connections.
- No source code storage — Quant reads your repository files only during framework detection. Your source code is never stored on Quant’s servers.
Troubleshooting
Section titled “Troubleshooting”No installations found
Section titled “No installations found”If the dashboard shows no GitHub installations:
- Verify the app is installed at GitHub Settings → Applications
- Check that you installed the app on the correct account (personal vs. organisation)
- Try disconnecting and re-connecting from the Quant dashboard
Permission denied when creating workflow
Section titled “Permission denied when creating workflow”The Quant GitHub App needs Contents: Read & Write permission. If this was revoked:
- Go to GitHub → Settings → Applications → Installed GitHub Apps
- Click Configure on QuantCDN
- Review and re-grant the requested permissions
Workflows not triggering after setup
Section titled “Workflows not triggering after setup”If your deployment workflow was created but isn’t running:
- Check Actions in your GitHub repository — workflows may need to be enabled for the first time
- Verify the workflow file exists at
.github/workflows/deploy.yml - Ensure the trigger branch (usually
main) matches your default branch
Next steps
Section titled “Next steps”- Start from a template — Create a new site from a ready-to-deploy template
- Import a repository — Connect an existing GitHub repo for automated deployments