Create sync2gitee.yml

This commit is contained in:
fit2cloudrd 2023-01-31 15:05:59 +08:00 committed by GitHub
parent 98d3c4b81a
commit 1364fa7f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/sync2gitee.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: sync2gitee
on: [push]
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- name: Mirror the Github organization repos to Gitee.
uses: Yikun/hub-mirror-action@master
with:
src: 'github/dataease'
dst: 'gitee/fit2cloud-feizhiyun'
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
static_list: ${{ github.event.repository.name }}
force_update: true
debug: true