Browse Source

ci: add mirror.yml

tags/0.1.0
TCL GitHub 3 years ago
parent
commit
6bba1fd5c5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      .github/workflows/mirror.yml

+ 18
- 0
.github/workflows/mirror.yml View File

@@ -0,0 +1,18 @@
name: mirror
on:
push:
branches: [dev, main, master]

jobs:
mirror-to-gitee:
runs-on: ubuntu-latest

steps:
- name: Mirror to Gitee
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}
with:
source-repo: "git@github.com:eesast/THUAI6.git"
destination-repo: "git@gitee.com:eesast/THUAI6.git"

Loading…
Cancel
Save