Learn how to connect and configure your GitHub repositories
Repositories
tab
in the navigation menu to access your repositories.
By default, Glimpse shows a list of all repositories you authorized it to access with your GitHub installation. You can connect a repository by clicking the Connect
button for the repository you want to connect.
Connect
button for the repository you want to connect.
You will be able to configure the repository in the slide out that opens from the right. Glimpse will automatically set the repository and default branch for you.
By default, you only need to select the Forge server you want to deploy your pull requests to.
Glimpse offers additional settings to customize your preview requirements which you can learn more about below.
Configure
button for the repository you want to configure. These settings will be used to deploy each of your pull requests and apply to each site deployed with Glimpse.
glimpse
label (this is not case sensistive and does not apply to drafts)Ignore Dependabot branches
checkbox.{branch}
: The name of the branch.{repo-pull-request-number}
: The name of the repository and the number of the pull request.{pull-request-number}
: The number of the pull request.{repo-pull-request-number}
, Glimpse will generate a site identifier for your site like my-repo-123
.
.env
files, your .env.example
file will be copied on the first deployment. Glimpse will either inject or replace the values in your .env
file with the values from the environment variables you provide in the repository settings.
You can learn more about how Forge manages environments in the Forge documentation.
Notifications
tab on the repository details page.
Enable notifications
checkbox.