Source Control (Git)

You can manage your source control account from the source control settings page.

Depfloy allows you to easily deploy your applications via source control providers. Your projects are added to your servers through these providers, built, and deployed quickly. The first step to publishing a project is to connect a source control provider to your account.

Supported Providers

Depfloy supports the following source control providers:

  • GitHub
  • GitLab (Coming soon)
  • Bitbucket

Depfloy currently only supports GitHub and BitBucket. Support for other popular Git providers such as GitLab, and custom/self-hosted Git repositories will be available as soon as possible.

Provider Management

Connect a source control provider

You can quickly connect one of the supported source control providers to your account by visiting the source control page. Please note that in some cases, there may be changes in the authorization settings of the source control provider. What to do in such cases is explained in the section below.

Unlinking Providers

You may remove a connected source control provider by clicking the Unlink button next to a provider. However, if there is an active project associated with that provider, you cannot perform this action. You must first remove the active project.

Refresh Token

In some cases, you may want to refresh the connection between Depfloy and your source control provider. To do this, click the “Refresh Token” button next to the provider’s name in the Source Control panel of your Depfloy account profile.

Updating Source Control Access and Permissions

After connecting a source control provider to your account, you may want to access different organizations, repositories, or change token permissions. To do this, you must first remove the OAuth authorization on the provider side and then obtain a new token.

Steps to follow

  • Open your source control provider’s settings (GitHub, GitLab, Bitbucket, etc.)
  • Locate and uninstall the Depfloy OAuth application
  • Return to Depfloy’s Source Control panel
  • Click the Refresh Token button to initiate a new OAuth authentication flow

If you need to access different organizations or repositories, simply refreshing the token may not grant the necessary permissions. Following the complete OAuth authentication flow allows you to explicitly authorize access to the desired organizations and repositories with the appropriate permission scope.

Was this page helpful?