Skip to content

Commit

Permalink
action corected+
Browse files Browse the repository at this point in the history
  • Loading branch information
darsan-in committed May 6, 2024
1 parent a2b1db5 commit fe2077d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/sshtodeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,21 @@ jobs:
- name: Setting Up Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version: "21.x"

- name: Installing dependencies
run: yarn

- name: Generating Static Files
run: yarn build

deploy:
runs-on: ubuntu-latest
environment:
name: SSH CREDENTIALS
steps:
- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
uses: easingthemes/ssh-deploy@v5.0.3
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
Expand Down

0 comments on commit fe2077d

Please sign in to comment.