Skip to content

Commit f74382f

Browse files
Update prod.yml (#5)
1 parent 9eb42e0 commit f74382f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/prod.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ jobs:
2020

2121
steps:
2222
- name: 🚚 Get latest code
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424

2525
- name: Use Node.js 18
26-
uses: actions/setup-node@v2-beta
26+
uses: actions/setup-node@v3
2727
with:
2828
node-version: '18'
2929

3030
- name: 🔨 Build Project
3131
run: |
32-
yarn
33-
yarn build-prod
32+
npm i --legacy-peer-deps
33+
npm run build-prod
3434
- name: 📂 Deploy to Server
35-
uses: easingthemes/ssh-deploy@v2.1.5
35+
uses: easingthemes/ssh-deploy@main
3636
env:
3737
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
3838
# ARGS: "-rltgoDzvO --delete"

0 commit comments

Comments
 (0)