diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 180f1ce..fbb807d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,14 +49,12 @@ jobs: rsync -avz --exclude=".git" --exclude="node_modules" clone-files/ root@${{secrets.REMOTE_HOST}}:${{secrets.REMOTE_SERVER_DIR}} ls -a - - name: Install pnpm - run: npm install -g pnpm - - name: 启动 pm2 run: | ssh root@${{secrets.REMOTE_HOST}} " cd ${{secrets.REMOTE_SERVER_DIR}}; ls -a; + npm install -g pnpm pnpm install; pnpm run ts-build; "