Skip to content

Commit

Permalink
chore: Update pnpm and Node.js versions in deploy-to-server.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed Jun 30, 2024
1 parent 9e85580 commit 505a8cd
Show file tree
Hide file tree
Showing 2 changed files with 14,418 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/deploy-to-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,20 @@ jobs:
# if your docs needs submodules, uncomment the following line
# submodules: true


- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: latest
run_install: true


- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: pnpm

- name: Install Deps
run: pnpm install --frozen-lockfile
run: pnpm install

- name: Build Docs
env:
Expand All @@ -47,8 +45,8 @@ jobs:
uses: easingthemes/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "--delete"
SOURCE: "dist/"
ARGS: '--delete'
SOURCE: 'dist/'
REMOTE_HOST: ${{ secrets.HOST }}
REMOTE_USER: ${{ secrets.USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}
Loading

0 comments on commit 505a8cd

Please sign in to comment.