Skip to content

Commit

Permalink
Merge pull request #1105 from zhensherlock/dev
Browse files Browse the repository at this point in the history
ci: update sync code
  • Loading branch information
zhensherlock authored Dec 27, 2024
2 parents 123ff83 + 0c969da commit 09360c1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/sync-gitee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,14 @@ jobs:
source-repo: [email protected]:zhensherlock/watermark-js-plus.git
# Gitee 目标仓库地址
destination-repo: [email protected]:cs_huayi_zhensherlock/watermark-js-plus.git

- name: Sync to CNB
uses: wearerequired/git-mirror-action@master
env:
# 在 Settings->Secrets 配置 CNB_RSA_PRIVATE_KEY
SSH_PRIVATE_KEY: ${{ secrets.CNB_RSA_PRIVATE_KEY }}
with:
# GitHub 源仓库地址
source-repo: [email protected]:zhensherlock/watermark-js-plus.git
# Gitee 目标仓库地址
destination-repo: [email protected]:zhensherlock/watermark-js-plus.git

0 comments on commit 09360c1

Please sign in to comment.