🛠️ action.yml -> Added debug output to list remote directory via SSH after file copy

This commit is contained in:
Radosław Kukuczka
2025-05-16 21:55:22 +02:00
parent c5c33630bb
commit 4e0e8a23ef

View File

@@ -91,6 +91,10 @@ runs:
scp -o StrictHostKeyChecking=no -i "$SSH_KEY_FILE" -r \
"$BUILD_CONTEXT_PATH"/* \
"$SSH_USER@$SSH_HOST:$REMOTE_TEMP_DIR/"
echo "📋 DEBUG: Listing remote build context directory '$REMOTE_TEMP_DIR'"
ssh -o StrictHostKeyChecking=no -i "$SSH_KEY_FILE" \
"$SSH_USER@$SSH_HOST" \
"ls -lha '$REMOTE_TEMP_DIR'"
fi
# Validate docker-compose file remotely before deploying