Skip to content

Commit

Permalink
Update prod.yml (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixcoded20 committed Aug 4, 2023
1 parent 9eb42e0 commit f74382f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:

steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js 18
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v3
with:
node-version: '18'

- name: 🔨 Build Project
run: |
yarn
yarn build-prod
npm i --legacy-peer-deps
npm run build-prod
- name: 📂 Deploy to Server
uses: easingthemes/ssh-deploy@v2.1.5
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
# ARGS: "-rltgoDzvO --delete"
Expand Down

0 comments on commit f74382f

Please sign in to comment.