aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorVolodymyr Stelmashchuk <vovochkastelmashchuk@gmail.com>2023-12-26 18:36:11 +0200
committerGitHub <noreply@github.com>2023-12-27 00:36:11 +0800
commit0e9c9883738c71d192a6b79ec3d3f3f982925ed5 (patch)
treeddb01d4773c6ab99f00a6671a9587338822eef75 /docs
parentff7383e83a4fdf9a86879b698752fe1aa5c6d00f (diff)
downloadgitea-0e9c9883738c71d192a6b79ec3d3f3f982925ed5.tar.gz
gitea-0e9c9883738c71d192a6b79ec3d3f3f982925ed5.zip
Update repo-mirror.en-us.md (#28612)
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/usage/repo-mirror.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/usage/repo-mirror.en-us.md b/docs/content/usage/repo-mirror.en-us.md
index 4a6571031b..8804a8885a 100644
--- a/docs/content/usage/repo-mirror.en-us.md
+++ b/docs/content/usage/repo-mirror.en-us.md
@@ -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**.