feat: 提交
parent
7b85db8312
commit
cd726fc73f
|
|
@ -28,9 +28,10 @@ jobs:
|
||||||
- name: 构建产物
|
- name: 构建产物
|
||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: 部署到 gh-pages 分支
|
- name: 上传产物
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: actions/upload-pages-artifact@v2
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
path: ./dist
|
||||||
publish_branch: gh-pages
|
|
||||||
publish_dir: ./dist
|
- name: 部署分支
|
||||||
|
uses: actions/deploy-pages@v2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue