We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af1d9fe commit 608c332Copy full SHA for 608c332
1 file changed
README.md
@@ -25,6 +25,27 @@ jobs:
25
target_token: "${{ secrets.MIRROR_TARGET_TOKEN_GITLAB }}"
26
```
27
28
+```yml
29
+name: "Repository Mirror: GitHub"
30
+
31
+on:
32
+ - push
33
34
+jobs:
35
+ mirror:
36
+ runs-on: ubuntu-latest
37
+ name: "Mirror"
38
+ steps:
39
+ - uses: pkgstore/github-action-mirror@main
40
+ with:
41
+ source_repo: "https://github.com/${{ github.repository }}.git"
42
+ source_user: "${{ secrets.MIRROR_SOURCE_USER_GITHUB }}"
43
+ source_token: "${{ secrets.MIRROR_SOURCE_TOKEN_GITHUB }}"
44
+ target_repo: "${{ secrets.MIRROR_TARGET_URL_GITHUB }}"
45
+ target_user: "${{ secrets.MIRROR_TARGET_USER_GITHUB }}"
46
+ target_token: "${{ secrets.MIRROR_TARGET_TOKEN_GITHUB }}"
47
+```
48
49
- `source_repo` - source repository URL.
50
- `source_user` - source user.
51
- `source_token` - source token.
0 commit comments