File tree Expand file tree Collapse file tree 1 file changed +1
-38
lines changed
Expand file tree Collapse file tree 1 file changed +1
-38
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments