Create gitee-mirror.yml

This commit is contained in:
IGeekFan 2020-10-23 18:46:13 +08:00 committed by GitHub
parent 4dfa5c3b95
commit bad7107126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/gitee-mirror.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Publish
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Sync to Gitee 💕
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
with:
source-repo: "git@github.com:dotnetcore/freesql.git"
destination-repo: "git@gitee.com:FreeSql/FreeSql-ORM.git"