🛠️ action.yml -> Added debug output to list remote directory via SSH after file copy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user