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