In this tutorial, you will learn how to connect a Git repository to your BuddyBoss App, so that your code changes can be automatically merged into your release app and test app builds. This feature is only available if you have purchased a plan that includes Developer Access.
Once done, make sure to check out our App Development tutorials to learn how to write custom code for your app, including how to set up your Git repo, and how to deploy custom code to your Test App.
The first step is to add your Repository information in your BuddyBoss.com account area. Under Apps, click “Manage” on the app you want to connect your Git repo to. The settings you enter will depend on where you Git repo is hosted. Once these settings have been configured, you will be able to select which branches from your repo should be merged into your release apps and test apps from your plugin settings.
GitHub
- At BuddyBoss.com, set the Provider to GitHub
- Enter the Repository URL in this format: [email protected]:name/repo-path.git
- Create an Access Token at GitHub:
- Go to Settings > Developer settings > Personal access tokens
- Click “Generate new token”
- For Scope, select “repo”
- Save, and paste the Access Token back at BuddyBoss.com
GitLab
- At BuddyBoss.com, set the Provider to GitLab
- Enter the Repository URL in this format: [email protected]:name/repo-path.git
- Create an Access Token at GitLab:
- Click on your user profile menu, and go to Preferences > Access Tokens
- Go to “Add a personal access token”
- For Scopes, select “read_api” and “read_repository”
- Save, and paste the Access Token back at BuddyBoss.com