Skip to content

Commit

Permalink
chore: update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Nov 9, 2021
1 parent f31ceb0 commit c0f2ccc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,18 @@ jobs:
run: npm run build

- name: Deploy
uses: JamesIves/[email protected].4
uses: JamesIves/[email protected].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:
Expand Down

0 comments on commit c0f2ccc

Please sign in to comment.