diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-26 21:08:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-26 21:08:20 +0300 |
commit | 6ee98e127334fd235f251c4a4a76a396f301ee77 (patch) | |
tree | 7c66eb437214b600ee7abc7a73d10160283c3030 /doc/ci/ci_cd_for_external_repos | |
parent | c9d79ef3b5b67792e331a4cc8e6325f3b4a04760 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/ci_cd_for_external_repos')
-rw-r--r-- | doc/ci/ci_cd_for_external_repos/github_integration.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/ci/ci_cd_for_external_repos/github_integration.md b/doc/ci/ci_cd_for_external_repos/github_integration.md index b926ff7961d..addf7be1397 100644 --- a/doc/ci/ci_cd_for_external_repos/github_integration.md +++ b/doc/ci/ci_cd_for_external_repos/github_integration.md @@ -33,11 +33,9 @@ repositories: your project, update commit statuses, and create a web hook to notify GitLab of new commits. -1. In GitLab create a **CI/CD for external repo** project and select +1. In GitLab, go to the [new project page](../../gitlab-basics/create-project.md#create-a-project-in-gitlab), select the **CI/CD for external repo** tab, and then click **GitHub**. - ![Create project](img/github_omniauth.png) - 1. Paste the token into the **Personal access token** field and click **List Repositories**. Click **Connect** to select the repository. @@ -91,7 +89,7 @@ To manually enable GitLab CI/CD for your repository: https://gitlab.com/api/v4/projects/<NAMESPACE>%2F<PROJECT>/mirror/pull?private_token=<PERSONAL_ACCESS_TOKEN> ``` - ![Create web hook](img/github_push_webhook.png) + Select the **Let me select individual events** option, then check the **Pull requests** and **Pushes** checkboxes. These settings are needed for [pipelines for external pull requests](index.md#pipelines-for-external-pull-requests). 1. In GitHub add a `.gitlab-ci.yml` to configure GitLab CI/CD. |