From 858560510a72b5ce5622ba0ef63bb8d550d616a7 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 4 Jul 2023 15:22:39 +0800 Subject: [PATCH] fix workflows --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6823332..ee5559d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,12 +13,12 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: "current" cache: "npm" - run: npm install - run: npm run build - - uses: easingthemes/ssh-deploy@v2.2.11 + - uses: easingthemes/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.KEY }} REMOTE_HOST: ${{ secrets.HOST }}