Updated GitLab access token docs
This commit is contained in:
@@ -57,8 +57,10 @@ We will use Gitea (git.medlab.host) as the external repository and GitLab for CI
|
||||
2. **Configure Gitea Repository Mirroring**
|
||||
- From your Gitea repo go to: `Settings > Repository > Mirror Settings`
|
||||
- Add your GitLab repository URL (ending in .git)
|
||||
- Add GitLab user credentials under Authorization (use a personal access token created in the account settings)
|
||||
- Use "oauth2" as the username
|
||||
- Generate a personal access token in GitLab scoped to "Code: Push" and use that as password
|
||||
- Check "Sync when commits are pushed" and disable Mirror Interval
|
||||
- Set Mirror Interval to "0"
|
||||
|
||||
3. **Set Required Variables on GitLab**
|
||||
- Get an access token from the Surfer server by going to `/_admin` and getting the "Access Tokens" dialog from the three-dot menu
|
||||
|
||||
Reference in New Issue
Block a user