mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
25 lines
589 B
YAML
25 lines
589 B
YAML
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"
|
|
destination-repo: "git@gitee.com:Doocs/md.git"
|
|
|
|
- name: Build Gitee Pages
|
|
uses: yanglbme/gitee-pages-action@master
|
|
with:
|
|
gitee-username: yanglbme
|
|
gitee-password: ${{ secrets.GITEE_PASSWORD }}
|
|
gitee-repo: doocs/md
|