Source Control

Depfloy needs read access to your source repository to deploy. Connect your Git provider once and Depfloy can pull any repository you give it access to. The page lives under Settings → Source Control (avatar dropdown in the top-right of the Console).

Supported providers

  • GitHub
  • Bitbucket
  • GitLab — coming soon

Support for self-hosted Git providers is on the roadmap.

Connect a provider

Open Settings → Source Control and click Connect next to your provider. You will be redirected to the provider's OAuth consent screen, where you authorise Depfloy to read your repositories. When the consent screen sends you back to Depfloy, the provider shows up as Connected with the account name.

Update access or permissions

If you later want to grant access to additional organizations or repositories, the OAuth scope you originally granted may not cover them. Two options:

  1. Refresh Token — opens the OAuth flow again so you can re-consent with broader scope. Click Refresh Token next to the provider on the Source Control page.
  2. Full reconnect — if Refresh Token does not give you the access you need, uninstall the Depfloy OAuth app from your provider's settings, then come back to Depfloy and click Connect again. This forces a full re-authorisation.

Disconnect a provider

Click Unlink next to a provider to remove the connection. If any project on Depfloy is still using that provider, the unlink button is disabled — delete or move those projects first.

Was this page helpful?