2020-04-01 09:36:24 +08:00
|
|
|
name: Sync
|
|
|
|
|
2021-02-26 10:47:40 +08:00
|
|
|
on: page_build
|
2020-04-01 09:36:24 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2020-10-18 16:00:25 +08:00
|
|
|
if: github.repository == 'doocs/md'
|
2020-04-01 09:36:24 +08:00
|
|
|
steps:
|
2021-02-26 10:47:40 +08:00
|
|
|
- name: Sync to Gitee
|
|
|
|
uses: wearerequired/git-mirror-action@master
|
|
|
|
env:
|
2020-04-01 09:36:24 +08:00
|
|
|
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
2021-02-26 10:47:40 +08:00
|
|
|
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
|