md/.github/workflows/sync.yml

17 lines
376 B
YAML
Raw Normal View History

2020-04-01 09:36:24 +08:00
name: Sync
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.GITEE_RSA_PRIVATE_KEY }}
with:
source-repo: "git@github.com:doocs/md.git"
2020-05-02 19:36:08 +08:00
destination-repo: "git@gitee.com:Doocs/md.git"