While adding Project in Ultim8e Deployer, you will be asked to connect to repository tool.
- Select Repository hosts provider from the list.
- Enter the full URL to the repository
- Repository Token (You can read the article on how to generate repository token at the bottom of this article)
- Add the default branch you wish to deploy from.
Once you have added the project, Go to Projects > Click on the Repo SSH Key button of the project that you have created.
You can view the public key at this point, Select the Key and add it to your main repository. See the example below.
How to add SSH Key to our repository Host?
You now need to add the repository SSH key to any of the main repository hosts, on which your code repository of the project is hosted.
For Github
To add repository SSH key, Login to Github, Click on Settings > Click on SSH and GPG Keys on Left side menu > Click on New SSH Key

Provide the title that can be memorize and paste the copied key from Projects in Key box.

For Gitea
To add repository SSH key, Login to Gitea, Click on Settings > Go to SSH/GPG Keys > Click on Add Key

Provide the name and paste the copied key from Projects in content box.

How to generate Github repository token?
To generate Github repository token, Login to Github, Click on Settings > Go to Developer Settings.
On the left hand side select Personal Access Tokens and Click Generate new token button.
Select the options as below and click on Generate Token.

How to generate Gitea repository token?
To generate Gitea repository token, Login to Gitea, Click on Settings > Go to Applications

Provide the name for the Token and Click on Generate Token button.