更新 .gitea/workflows/build-action.yaml
Frontend CI/CD / build (web-office) (push) Failing after 8s
Details
Frontend CI/CD / build (web-office) (push) Failing after 8s
Details
This commit is contained in:
parent
c8f5c8ab53
commit
be29025706
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue