ci: 调整workflow
Some checks failed
deploy to server / deploy (push) Has been cancelled
deploy to server / build (push) Has started running

- 合并build与deploy
This commit is contained in:
2025-09-24 17:08:01 +08:00
parent 73620f0777
commit 723c0cbb3a

View File

@ -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