mirror of
https://github.com/ZiuChen/ZiuChen.github.io.git
synced 2025-08-18 07:29:33 +08:00
ci: 构建后部署到gh-pages分支
This commit is contained in:
parent
69cbd06028
commit
e3b7e55592
10
.github/workflows/blank.yml
vendored
10
.github/workflows/blank.yml
vendored
@ -31,17 +31,17 @@ jobs:
|
||||
- name: Build VuePress site
|
||||
run: pnpm docs:build
|
||||
|
||||
Deploy:
|
||||
name: Deploy
|
||||
needs: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Deploy Github Pages
|
||||
uses: JamesIves/github-pages-deploy-action@releases/v4
|
||||
with:
|
||||
folder: docs/.vuepress/dist
|
||||
branch: gh-pages
|
||||
|
||||
Deploy:
|
||||
name: Deploy
|
||||
needs: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Sync to Gitee
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user