mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
chore: update build.yml
This commit is contained in:
parent
f31ceb0ecf
commit
c0f2cccd24
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -36,13 +36,18 @@ jobs:
|
||||
run: npm run build
|
||||
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.4
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.5
|
||||
with:
|
||||
branch: gh-pages
|
||||
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@master
|
||||
uses: wearerequired/git-mirror-action@v1
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user