ci: 测试workflow
Some checks failed
deploy to server / build (push) Successful in 3m59s
deploy to server / deploy (push) Failing after 42s

- 为其他分支启用deploy进行测试
This commit is contained in:
2025-09-24 17:00:13 +08:00
parent cbbae112dc
commit 73620f0777

View File

@ -46,7 +46,7 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
if: github.ref == 'refs/heads/master' # if: github.ref == 'refs/heads/master'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v5
@ -55,3 +55,5 @@ jobs:
with: with:
name: nuxt-output 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