Skip to content

Commit

Permalink
chore: zip dist files before ssh deploy (#268)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby authored Oct 26, 2023
1 parent 80ee4a0 commit e3dbe69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -60,3 +61,4 @@ jobs:
REMOTE_PORT: ${{ secrets.SERVER_PORT }}
REMOTE_USER: ${{ secrets.SERVER_USER }}
TARGET: ${{ secrets.SERVER_TARGET }}
SCRIPT_AFTER: ${{ secrets.SCRIPT_AFTER }}

1 comment on commit e3dbe69

@vercel
Copy link

@vercel vercel bot commented on e3dbe69 Oct 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

halo-docs – ./

halo-docs-git-main-halo-dev.vercel.app
halo-docs.vercel.app
halo-docs-halo-dev.vercel.app
docs.halo.run

Please sign in to comment.