GitHub
Configure GitHub repositories for deployments. This includes setting up access tokens, repository names, and branches.
Skitflow offer a way to connect your Github Repository to your Skitflow panel, you can use organizations or personal accounts.
Go to Git and select Github as the source, then you can use the following options:
- Organization: Select the organization that you want to connect to Skitflow.
- Personal Account(Default): Select the account that you want to connect to Skitflow.
Follow the steps to connect your Github account to Skitflow.
- Click on
Create Github Appto create a new Github App. - Set Github App Name: eg.
Skitflow-Github-App. make sure this name is unique. - Click on
Create Github App, then you will redirect to theGitsection of Skitflow. - Now it will show a
InstallButton, click on it. - You can select the repositories that you want to skitflow be able to access, you can choose select all repositories or select specific repositories.
- Click on
Install & Authorizeto install the Skitflow App. - You will be redirected to the
Gitsection of Skitflow. - Now you can use the repositories from your Github Account in
ApplicationsorDocker Composeservices.
When you use this method, By default you will have Automatic deployments on each push you make to your repository.
Clarification on Automatic Deployments
By default, Skitflow will automatically deploy your application on the Branch you have selected.
eg. Let's suppose you have a application in this way:
Repository: my-app
Branch: feature
If you try to make a push on another branch eg. main, Skitflow will not automatically deploy your application, because
your application have selected feature as the Branch.
In the case you want to have multiple applications in the same repository, eg. (development, staging, production), you can create 3 Applications in Skitflow
and select the branch in each of them.
This is very usefull if you want to have multiple environments for the same application.