Skip to content

Commit 2c653fb

Browse files
committed
(chore/oss): Add mirroring to community-mirror
1 parent 3247061 commit 2c653fb

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Sync repository to Community Organization
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
mirror:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Mirror push to ScribbleLabApp-Community
17+
run: |
18+
git config --global user.name "ScribbleCareBear CI"
19+
git config --global user.email "[email protected]"
20+
21+
git remote add mirror https://$GITHUB_ACTOR:${{ secrets.MIRROR_TOKEN }}@github.com/ScribbleLabApp-Community/ScribbleLabDocsKit.git
22+
git push mirror --mirror

0 commit comments

Comments
 (0)