chore: add debug steps for scp failure
Some checks failed
site-dist-deploy / build-and-deploy (push) Failing after 2m10s
Some checks failed
site-dist-deploy / build-and-deploy (push) Failing after 2m10s
This commit is contained in:
parent
1c0511d44e
commit
1c53fc4fe4
@ -57,6 +57,18 @@ jobs:
|
||||
rm -rf ${{ env.DEPLOY_PATH }}/*
|
||||
mkdir -p /tmp/ci-upload
|
||||
|
||||
- name: Check Artifacts
|
||||
run: |
|
||||
echo "Current directory: $(pwd)"
|
||||
ls -la
|
||||
if [ -f "site_dist.tgz" ]; then
|
||||
echo "✅ File exists: site_dist.tgz"
|
||||
ls -lh site_dist.tgz
|
||||
else
|
||||
echo "❌ File NOT found: site_dist.tgz"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Upload dist archive
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
@ -64,7 +76,7 @@ jobs:
|
||||
username: ${{ env.SSH_USER }}
|
||||
password: ${{ env.SSH_PASSWORD }}
|
||||
port: ${{ env.SSH_PORT }}
|
||||
source: "./site_dist.tgz"
|
||||
source: "site_dist.tgz"
|
||||
target: "/tmp/ci-upload"
|
||||
overwrite: true
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user