Skip to content

Commit 32148ad

Browse files
authored
Merge pull request #15 from codedthemes/update-yml-file
Update GitHub Actions for React production workflow
2 parents 67cb2c4 + 8131e88 commit 32148ad

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

.github/workflows/bootstrap-prod.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,16 @@ jobs:
2323

2424
steps:
2525
- name: 🚚 Get latest code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: 📂 Deploy to Server
2929
uses: easingthemes/ssh-deploy@main
3030
env:
3131
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
3232
# ARGS: "-rltgoDzvO --delete"
3333
SOURCE: "bootstrap/dist/"
34-
REMOTE_HOST: 192.34.62.123
35-
REMOTE_USER: dashboardkit-old
36-
TARGET: public_html/bootstrap/free
34+
REMOTE_HOST: 145.79.3.173
35+
REMOTE_USER: u965251139
36+
REMOTE_PORT: "65002"
37+
TARGET: domains/dashboardkit.cc/public_html/bootstrap/free
3738
EXCLUDE: "/bootstrap/node_modules/"

.github/workflows/react-prod.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323

2424
steps:
2525
- name: 🚚 Get latest code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

28-
- name: Use Node.js 20
29-
uses: actions/setup-node@v3
28+
- name: Use Node.js 24
29+
uses: actions/setup-node@v4
3030
with:
31-
node-version: "20"
31+
node-version: "24"
3232

3333
- name: 🔨 Build Project
3434
run: |
@@ -42,7 +42,8 @@ jobs:
4242
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
4343
# ARGS: "-rltgoDzvO --delete"
4444
SOURCE: "react/dist/"
45-
REMOTE_HOST: 192.34.62.123
46-
REMOTE_USER: dashboardkit-old
47-
TARGET: public_html/react/free
45+
REMOTE_HOST: 145.79.3.173
46+
REMOTE_USER: u965251139
47+
REMOTE_PORT: "65002"
48+
TARGET: domains/dashboardkit.cc/public_html/react/free
4849
EXCLUDE: "/react/node_modules/"

0 commit comments

Comments
 (0)