ci: 调整workflow
- 合并build与deploy
This commit is contained in:
@ -41,7 +41,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: nuxt-output
|
name: nuxt-output
|
||||||
path: .output
|
path: .output/
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -54,6 +54,6 @@ jobs:
|
|||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: nuxt-output
|
name: nuxt-output
|
||||||
path: .output
|
path: .output/
|
||||||
- name: Rsync build artifact to server
|
- name: Rsync build artifact to server
|
||||||
run: rsync -avz --delete .output/ remilia@192.168.86.5:/home/remilia/Jinshenwebsite/front-build
|
run: rsync -avz --delete .output/ remilia@192.168.86.5:/home/remilia/Jinshenwebsite/front-build
|
||||||
|
|||||||
Reference in New Issue
Block a user