This action will sync github repo to gitee on the fly when you push the github repo which you want to sync.
Required The user's ssh private key for gitee.
Required The remote url of gitee, or just use gitee
if the repo name is identical with github.
name: sync to gitee
on:
push:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: acefei/sync-repo-action@master
with:
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
target_repo: gitee