The following instructions are for OIT Drupal websites that want to use a custom code repository.
In order for changes to your GitHub repository to be reflected on your Drupal site, the OIT Drupal admin account (drupa001) requires, at minimum, read access to the code repository. You can do this by making the repository public, or keeping it private but granting drupa001 access to it.
Note:
- On UMN GitHub Enterprise Server (GHES), public repositories are visible to anyone with UMN Active Directory access (current students, staff, faculty, and sponsored accounts), but are not visible to the general public.
- On UMN GitHub Enterprise Cloud (GHEC), public repositories can be accessed by the general public, including non-UMN visitors.
Table of Contents:
Make Repository Public
Personally Owned - only available on GHES
- Login to github.umn.edu
- Click on your profile photo/icon in the top-right corner and select Your repositories
- Click on the repository you want to share
- Click on Settings
- Scroll to the bottom to the section Danger Zone and select Change Visibility
- Set to Make public and complete the prompt as directed and the click I understand, change repository visibility
Organization Owned
Note: If your organization owns several repositories, it is easier to add the OIT admin account to the organization rather than make individual repositories public. Additionally, within an organization, you can also create teams and delegate access to them. You can read more about that at GitHub's website.
- Login to the UMN Github instance that houses your repository
- Click on the drop-down box with your username and click on the organization that owns the repository you want to use
- Click on Repositories
- Click on the repository you are working with
- Click on Settings
- Scroll to the bottom to the section Danger Zone and select Change Visibility
- Set to Make public and complete the prompt as directed and the click I understand, change repository visibility
Keep Repository Private
Personally Owned - only available on GHES
- Login to github.umn.edu
- Click on your profile photo/icon in the top-right corner and select Your repositories
- Click on the repository you want to share
- Click on Settings
- Click on Collaborators
- Enter in drupa001, click on the name in the drop-down box and then click Add collaborator
Organization Owned
- Login to the UMN Github instance that houses your repository
- Click on the drop-down box with your username and click on the organization that owns the repository you want to use
- Click on the organization that owns the repository you want to use
- Click on People
- Click on Add member
- Enter in drupa001, click on the name in the drop-down box and then click Add
- Grant the role Member and then select Add member