![]() ![]() You can also add your SSH key to your GitHub account so that all repositories in your account are accessible to Cloud Build. In the Key field, paste in your public key from the Grant us access to your source control window, and then click the Add key button.įor more information on deploy keys, see Managing Deploy Keys in the GitHub documentation. In the Title textbox, type name to identify this key. In the sidebar, click Deploy Keys, then click the Add deploy key button. In your repository, click the Settings tab. On your profile page, click Repositories, then click the name of your repository. In the upper-right corner of any GitHub page, click your profile photo, then click Your profile. To add your SSH key to your project in GitHub When Cloud Build detects that the repository is private, it displays the Grant us access to your source control screen. If your repository is private, Cloud Build must use SSH to connect to it. Unity Cloud Build automatically re-writes the URL into the format it needs. Use the format that is most convenient for you. If you are hosting Git on a private server, you must use SSH to connect to your repository.The following are examples of URLs for GitHub, bitbucket, and GitLab: You can specify the URL to use the following protocols: To connect to your repository, you must specify the URL to your Git server. If your repository is public, Cloud Build automatically connects to it and you can skip to Setting up a target build platform. When Unity Cloud Build connects to the hosting site, it automatically detects whether your repository is public or private. If your repository is private, see the Using private repositoriessection. ![]() For information on the format of the URL, see the URL syntax section below.įrom the SCM Type drop-down menu, select GIT. In the SCM URL field, enter the URL of your Git server in either of the following formats: UNITY CLOUD BUILD CUSTOM BUILD STEPS MANUALIn the Source Control window, click the Manual tab. To configure Cloud Build to use SSH to access your repository: UNITY CLOUD BUILD CUSTOM BUILD STEPS CODETo configure a Project that retrieves a repository from a different account, sign out of the source code management service first, then configure the Project.įor the next step, see the Setting up a target build platform section. ![]() Note: If you are currently signed into the source code management service, Cloud Build uses your current credentials to retrieve the repository list. In the Select a Repository window, choose a repository from which to build the Project and then click the NEXT: TARGET SETUP button.Authorize access to your account as appropriate for the selected source code control service.In the Source Control window, click the GitHub, Bitbucket, or GitLab tile.To configure Cloud Build to use OAuth to access your repository: You can configure access to your repository using the following authorization protocols: In the Build History window, click Set up Cloud Build.In the dashboard Overview window, on the Cloud Build tile, click OPEN CLOUD BUILD DASHBOARD.On the Projects page, select your Project.Sign in to the Unity Developer Dashboard.To configure Cloud Build to build your Project from a GitHub repository: For more information, see the Unity Teams page. Note: This feature requires a subscription to Unity Teams Advanced. Your repository can be hosted on GitHub, GitLab, Bitbucket, or private servers. Unity Cloud Build supports projects stored in Git repositories. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |