Skip to content

Commit 552146f

Browse files
authored
chore: remove deploy action step (#508)
Signed-off-by: Ryan Wang <i@ryanc.cc>
1 parent 90d3104 commit 552146f

File tree

1 file changed

+1
-38
lines changed

1 file changed

+1
-38
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -31,41 +31,4 @@ jobs:
3131
run: pnpm install
3232

3333
- name: Lint
34-
run: pnpm lint
35-
36-
build:
37-
runs-on: ubuntu-latest
38-
needs: check
39-
if: github.event_name == 'push'
40-
steps:
41-
- name: Checkout
42-
uses: actions/checkout@v4
43-
with:
44-
fetch-depth: 0
45-
46-
- uses: pnpm/action-setup@v3
47-
with:
48-
version: 10
49-
50-
- uses: actions/setup-node@v4
51-
with:
52-
node-version: "20"
53-
cache: "pnpm"
54-
55-
- name: Install dependencies
56-
run: pnpm install
57-
58-
- run: pnpm build
59-
- run: cd build && zip -r -m build.zip .
60-
61-
- name: Deploy
62-
uses: easingthemes/ssh-deploy@main
63-
env:
64-
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
65-
ARGS: "-avzr --delete"
66-
SOURCE: "build/"
67-
REMOTE_HOST: ${{ secrets.SERVER_HOST }}
68-
REMOTE_PORT: ${{ secrets.SERVER_PORT }}
69-
REMOTE_USER: ${{ secrets.SERVER_USER }}
70-
TARGET: ${{ secrets.SERVER_TARGET }}
71-
SCRIPT_AFTER: ${{ secrets.SCRIPT_AFTER }}
34+
run: pnpm lint

0 commit comments

Comments
 (0)