chore: zip dist files before ssh deploy (#268)

Signed-off-by: Ryan Wang <i@ryanc.cc>
wan92hen-patch-1
Ryan Wang 1 year ago committed by GitHub
parent 80ee4a04ad
commit e3dbe69aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,6 +49,7 @@ jobs:
- run: pnpm install
- run: pnpm build
- run: cd build && zip -r -m build.zip .
- name: Deploy
uses: easingthemes/ssh-deploy@main
@ -60,3 +61,4 @@ jobs:
REMOTE_PORT: ${{ secrets.SERVER_PORT }}
REMOTE_USER: ${{ secrets.SERVER_USER }}
TARGET: ${{ secrets.SERVER_TARGET }}
SCRIPT_AFTER: ${{ secrets.SCRIPT_AFTER }}

Loading…
Cancel
Save