Skip to content

Commit

Permalink
Update repo-mirror.en-us.md (go-gitea#28612)
Browse files Browse the repository at this point in the history
Add small changes to the doc. The workflow scope require for push code
to github mirror in case the project use the github action compatibility
ui.
  • Loading branch information
VovaStelmashchuk authored and fuxiaohei committed Jan 17, 2024
1 parent 9038d60 commit b94b297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/usage/repo-mirror.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The repository now gets mirrored periodically to the remote repository. You can

To set up a mirror from Gitea to GitHub, you need to follow these steps:

1. Create a [GitHub personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with the *public_repo* box checked.
1. Create a [GitHub personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with the *public_repo* box checked. Also check the **workflow** checkbox in case your repo using act for continuous integration.
2. Create a repository with that name on GitHub. Unlike Gitea, GitHub does not support creating repositories by pushing to the remote. You can also use an existing remote repo if it has the same commit history as your Gitea repo.
3. In the settings of your Gitea repo, fill in the **Git Remote Repository URL**: `https://github.com/<your_github_group>/<your_github_project>.git`.
4. Fill in the **Authorization** fields with your GitHub username and the personal access token as **Password**.
Expand Down

0 comments on commit b94b297

Please sign in to comment.