Skip to content

Commit

Permalink
Create SyncGitee.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Feb 1, 2024
1 parent 571362d commit af29e90
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/SyncGitee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Sync To Gitee

on: [ push, delete, create ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
env:
# 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
with:
# 注意替换为你的 GitHub 源仓库地址
source-repo: https://github.com/yuzukihd/SyterKit.git
# 注意替换为你的 Gitee 目标仓库地址
destination-repo: git@gitee.com:YuzukiHD-Mirror/SyterKit.git

0 comments on commit af29e90

Please sign in to comment.