From 33d37ebfe5eda1bcb522fe0fa0315a69f3c30d81 Mon Sep 17 00:00:00 2001 From: z9130 <984661593@qq.com> Date: Mon, 16 Sep 2024 18:54:41 +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 | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/build-action.yaml b/.gitea/workflows/build-action.yaml index be83da7d..7ff5f505 100644 --- a/.gitea/workflows/build-action.yaml +++ b/.gitea/workflows/build-action.yaml @@ -15,10 +15,10 @@ jobs: steps: - - name: Install Git - run: | - apt-get update - apt-get install -y git + # - name: Install Git + # run: | + # apt-get update + # apt-get install -y git - name: Output Node.js and npm version run: | @@ -48,20 +48,20 @@ jobs: npm install -g pnpm echo "pnpm installed." - - 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." + # - 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." - name: Transfer files to target server run: | echo "Transferring files..." - sshpass -p "zxs123123" scp -o StrictHostKeyChecking=no -r pansoft-plrl/apps/dist/* root@172.19.183.27:/opt/pansoft + sshpass -p "zxs123123" scp -o StrictHostKeyChecking=no -r pansoft-plrl/apps/* root@172.19.183.27:/opt/pansoft echo "Files transferred." - name: Execute remote commands