chore: enable scp debug and enhanced file listing
Some checks failed
site-dist-deploy / build-and-deploy (push) Failing after 2m13s

This commit is contained in:
shanshanzhong 2026-01-04 03:52:31 -08:00
parent 1c53fc4fe4
commit 3a8f171f19

View File

@ -60,10 +60,12 @@ jobs:
- name: Check Artifacts - name: Check Artifacts
run: | run: |
echo "Current directory: $(pwd)" echo "Current directory: $(pwd)"
ls -la echo "Listing all files in workspace:"
find . -maxdepth 2 -not -path '*/.*'
if [ -f "site_dist.tgz" ]; then if [ -f "site_dist.tgz" ]; then
echo "✅ File exists: site_dist.tgz" echo "✅ File exists: site_dist.tgz"
ls -lh site_dist.tgz ls -lh site_dist.tgz
echo "File path: $(readlink -f site_dist.tgz)"
else else
echo "❌ File NOT found: site_dist.tgz" echo "❌ File NOT found: site_dist.tgz"
exit 1 exit 1
@ -79,6 +81,7 @@ jobs:
source: "site_dist.tgz" source: "site_dist.tgz"
target: "/tmp/ci-upload" target: "/tmp/ci-upload"
overwrite: true overwrite: true
debug: true
- name: Extract archive to deploy path - name: Extract archive to deploy path
uses: appleboy/ssh-action@v1.0.3 uses: appleboy/ssh-action@v1.0.3