update ci #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Repo To Other Repo | |
on: | |
push: | |
branches: | |
- main | |
delete: | |
create: | |
jobs: | |
Sync-To-Gitee: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sync to Gitee | |
uses: wearerequired/git-mirror-action@master | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} | |
with: | |
source-repo: [email protected]:licyk/term-sd.git | |
destination-repo: [email protected]:licyk/term-sd.git | |
Sync-To-Gitlab: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sync to Gitlab | |
uses: wearerequired/git-mirror-action@master | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} | |
with: | |
source-repo: [email protected]:licyk/term-sd.git | |
destination-repo: [email protected]:licyk/term-sd.git | |
Sync-To-Bitbucket: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sync to Bitbucket | |
uses: wearerequired/git-mirror-action@master | |
env: | |
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} | |
with: | |
source-repo: [email protected]:licyk/term-sd.git | |
destination-repo: [email protected]:licyks/term-sd.git |