Skip to content

Commit

Permalink
fix: more close use node
Browse files Browse the repository at this point in the history
  • Loading branch information
bbb169 committed Oct 16, 2023
1 parent 794578f commit 3b1b242
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
with:
path: "clone-files"

- name: 设置 node 环境
uses: actions/setup-node@v3
with:
node-version: "19.1.0"

- name: 设置 id_rsa
run: |
mkdir -p ~/.ssh/
Expand All @@ -55,6 +50,9 @@ jobs:
ls -a
- name: 启动 pm2
uses: actions/setup-node@v3
with:
node-version: "19.1.0"
run: |
ssh root@${{secrets.REMOTE_HOST}} "
cd ${{secrets.REMOTE_SERVER_DIR}};
Expand Down

0 comments on commit 3b1b242

Please sign in to comment.