master
yutent 2023-02-19 15:14:25 +08:00
parent f70fb72276
commit 001b4fe63b
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,7 @@ jobs:
with: with:
node-version: 18.10.0 node-version: 18.10.0
- name: Checkout - name: 拉取代码
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: 安装依赖并编译 - name: 安装依赖并编译
@ -26,6 +26,9 @@ jobs:
ls -lsh ls -lsh
npm i npm i
npm run build npm run build
- name: 设置github pages
uses: actions/configure-pages@v3
- name: 上传dist目录 - name: 上传dist目录
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1