From be290257062926fdb04f002bf8315966efc50e0e Mon Sep 17 00:00:00 2001 From: z9130 <984661593@qq.com> Date: Mon, 16 Sep 2024 19:55:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build-act?= =?UTF-8?q?ion.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-action.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/build-action.yaml b/.gitea/workflows/build-action.yaml index 8584fa7e..98f00a6a 100644 --- a/.gitea/workflows/build-action.yaml +++ b/.gitea/workflows/build-action.yaml @@ -56,16 +56,16 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - # Install dependencies and build - - name: Install dependencies and build - run: | - cd pansoft-plrl - echo "Installing dependencies..." - pnpm install --no-frozen-lockfile - echo "Dependencies installed." - echo "Building project..." - pnpm build --filter ${{ matrix.project }} - echo "Project built." + # # Install dependencies and build + # - name: Install dependencies and build + # run: | + # cd pansoft-plrl + # echo "Installing dependencies..." + # pnpm install --no-frozen-lockfile + # echo "Dependencies installed." + # echo "Building project..." + # pnpm build --filter ${{ matrix.project }} + # echo "Project built." # Transfer files to target server - name: Transfer files to target server @@ -74,7 +74,7 @@ jobs: cd pansoft-plrl/apps/web-office echo "Local files in the directory:" ls - sshpass -p "zxs123123" scp -o StrictHostKeyChecking=no -r /workspace/z9130/pansoft-plrl/pansoft-plrl/apps/web-office/dist.zip root@172.19.183.27:/opt/pansoft + sshpass -p "zxs123123" scp -o StrictHostKeyChecking=no -r dist.zip root@172.19.183.27:/opt/pansoft echo "Files transferred." # Execute remote commands