更新 .gitea/workflows/build-action.yaml
Frontend CI/CD / build (web-office) (push) Failing after 3m18s
Details
Frontend CI/CD / build (web-office) (push) Failing after 3m18s
Details
This commit is contained in:
parent
33d37ebfe5
commit
ac43d2fc1b
|
@ -48,20 +48,21 @@ 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/* root@172.19.183.27:/opt/pansoft
|
||||
cd pansoft-plrl
|
||||
sshpass -p "zxs123123" scp -o StrictHostKeyChecking=no -r apps/${{ matrix.project }}/dist.zip root@172.19.183.27:/opt/pansoft
|
||||
echo "Files transferred."
|
||||
|
||||
- name: Execute remote commands
|
||||
|
|
Loading…
Reference in New Issue