File tree Expand file tree Collapse file tree 1 file changed +23
-21
lines changed Expand file tree Collapse file tree 1 file changed +23
-21
lines changed Original file line number Diff line number Diff line change @@ -19,27 +19,29 @@ jobs:
1919 runs-on : ubuntu-latest
2020
2121 steps :
22- - name : 🚚 Get latest code
23- uses : actions/checkout@v4
22+ - name : 🚚 Get latest code
23+ uses : actions/checkout@v4
2424
25- - name : Use Node.js 20
26- uses : actions/setup-node@v4
27- with :
28- node-version : ' 20 '
25+ - name : Use Node.js 20
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : " 20 "
2929
30- - name : 🔨 Build Project
31- run : |
32- cd vite
33- yarn
34- yarn build
30+ - name : 🔨 Build Project
31+ run : |
32+ cd vite
33+ corepack enable
34+ yarn set version 4.6.0
35+ yarn
36+ yarn build
3537
36- - name : 📂 Deploy to Server
37- uses : easingthemes/ssh-deploy@v4
38- env :
39- SSH_PRIVATE_KEY : ${{ secrets.SERVER_SSH_KEY }}
40- # ARGS: "-rltgoDzvO --delete"
41- SOURCE : ' vite/dist/'
42- REMOTE_HOST : 192.34.62.123
43- REMOTE_USER : berry
44- TARGET : public_html/free
45- EXCLUDE : ' /vite/node_modules/'
38+ - name : 📂 Deploy to Server
39+ uses : easingthemes/ssh-deploy@v4
40+ env :
41+ SSH_PRIVATE_KEY : ${{ secrets.SERVER_SSH_KEY }}
42+ # ARGS: "-rltgoDzvO --delete"
43+ SOURCE : " vite/dist/"
44+ REMOTE_HOST : 192.34.62.123
45+ REMOTE_USER : berry
46+ TARGET : public_html/free
47+ EXCLUDE : " /vite/node_modules/"
You can’t perform that action at this time.
0 commit comments