mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
chore: update workflow (#311)
This commit is contained in:
parent
9d8757bd39
commit
ff44d3d40f
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -31,16 +31,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: dist
|
folder: dist
|
||||||
|
|
||||||
sync-to-gitee:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: github.repository == 'doocs/md'
|
|
||||||
needs: build-and-deploy
|
|
||||||
steps:
|
|
||||||
- name: Sync to Gitee
|
|
||||||
uses: wearerequired/git-mirror-action@v1
|
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user