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.
2 parents 9af7bf0 + 74bf9f6 commit 7cea825Copy full SHA for 7cea825
1 file changed
.github/workflows/sync_to_gitee.yml
@@ -0,0 +1,23 @@
1
+name: Sync to Gitee
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+jobs:
10
+ sync:
11
+ runs-on: ubuntu-latest
12
+ name: Sync GitHub to Gitee
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
+ with:
17
+ fetch-depth: 0
18
19
+ - name: Mirror to Gitee
20
+ uses: pixta-dev/repository-mirroring-action@v1
21
22
+ target_repo_url: ${{ vars.GITEE_REPO_URL }}
23
+ ssh_private_key: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
0 commit comments