ci: 为项目添加CI/CD功能 #30
@ -41,7 +41,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: nuxt-output
|
||||
path: .output
|
||||
path: .output/
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@ -54,6 +54,6 @@ jobs:
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: nuxt-output
|
||||
path: .output
|
||||
path: .output/
|
||||
- name: Rsync build artifact to server
|
||||
run: rsync -avz --delete .output/ remilia@192.168.86.5:/home/remilia/Jinshenwebsite/front-build
|
||||
|
||||
Reference in New Issue
Block a user