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
4b0167b850
commit
2c1dfdfeb5
10
.github/workflows/blank.yml
vendored
10
.github/workflows/blank.yml
vendored
@ -31,17 +31,17 @@ jobs:
|
|||||||
- name: Build VuePress site
|
- name: Build VuePress site
|
||||||
run: pnpm docs:build
|
run: pnpm docs:build
|
||||||
|
|
||||||
Deploy:
|
|
||||||
name: Deploy
|
|
||||||
needs: Build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Deploy Github Pages
|
- name: Deploy Github Pages
|
||||||
uses: JamesIves/github-pages-deploy-action@releases/v4
|
uses: JamesIves/github-pages-deploy-action@releases/v4
|
||||||
with:
|
with:
|
||||||
folder: docs/.vuepress/dist
|
folder: docs/.vuepress/dist
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
|
|
||||||
|
Deploy:
|
||||||
|
name: Deploy
|
||||||
|
needs: Build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
- name: Sync to Gitee
|
- name: Sync to Gitee
|
||||||
uses: wearerequired/git-mirror-action@master
|
uses: wearerequired/git-mirror-action@master
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user