Update main.yaml
parent
0c934f8df2
commit
d1e3fe8c2c
|
@ -21,3 +21,12 @@ jobs:
|
|||
run: |
|
||||
npm i
|
||||
npm run build
|
||||
|
||||
- name: 上传dist目录
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
path: './dist'
|
||||
|
||||
- name: 部署github pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v1
|
||||
|
|
Loading…
Reference in New Issue