mirror of
https://github.com/doocs/md.git
synced 2024-11-25 03:18:36 +08:00
18 lines
397 B
YAML
18 lines
397 B
YAML
name: Sync
|
|
|
|
on:
|
|
page_build
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'doocs/md'
|
|
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"
|
|
destination-repo: "git@gitee.com:Doocs/md.git"
|