You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,16 @@ Github Mirror is a [GitHub Action](https://github.com/features/actions) that kee
4
4
a mirror of an external repository. It will synchronize all branches and commits from the specified repository, it
5
5
will not copy non-Git data such as Pull Requests.
6
6
7
-
## Setup
7
+
## Create from Template
8
+
If you'd prefer to use the GitHub UI instead of the CLI, you can use the [template repository](https://github.com/bridgelightcloud/github-mirror-template).
9
+
10
+
Steps:
11
+
1. Click [Use this template](https://github.com/bridgelightcloud/github-mirror-template/generate).
12
+
2. Name your repository
13
+
3. Edit `.github/workflows/mirror.yml` and enter the URL you wish to mirror where it says `origin: ''`
14
+
4. Commit your change
15
+
16
+
## Manual Setup
8
17
To create a mirror, start by creating a repository locally and creating a branch to hold the workflow file. The branch
9
18
should be named such that it will not conflict with a branch name in the source repository.
0 commit comments