Skip to content

Commit

Permalink
upd deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCat committed Nov 15, 2023
1 parent 11151d0 commit e87737e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
uses: actions/checkout@master

- name: Setup Node.js environment
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v4
with:
node-version: 18

- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -43,7 +43,7 @@ jobs:
rm -rf *
- name: Deploying the site
uses: easingthemes/ssh-deploy@v2.1.5
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.SSH_SERVER_IP }}
Expand Down

0 comments on commit e87737e

Please sign in to comment.