Skip to content

Commit b077ee7

Browse files
committed
chore: add mirror workflow
1 parent ede9b43 commit b077ee7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Mirror
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
workflow_dispatch:
7+
8+
jobs:
9+
atomgit:
10+
if: github.repository_owner == 'zigcc'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
- uses: pixta-dev/repository-mirroring-action@v1
17+
with:
18+
target_repo_url: https://jiacai2050:${{ secrets.ATOMGIT_TOKEN }}@atomgit.com/${{ github.repository }}.git

0 commit comments

Comments
 (0)