md/.github/workflows/sync.yml

18 lines
393 B
YAML
Raw Normal View History

2020-04-01 09:36:24 +08:00
name: Sync
on:
2020-05-04 16:31:29 +08:00
page_build
2020-04-01 09:36:24 +08:00
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'doocs/md'
2020-04-01 09:36:24 +08:00
steps:
- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
with:
2020-11-23 09:38:30 +08:00
source-repo: git@github.com:doocs/md.git
destination-repo: git@gitee.com:Doocs/md.git