From 4e0e8a23ef3f0faf64487f6880de631e79526a56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kukuczka?= Date: Fri, 16 May 2025 21:55:22 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20action.yml=20->=20Added?= =?UTF-8?q?=20debug=20output=20to=20list=20remote=20directory=20via=20SSH?= =?UTF-8?q?=20after=20file=20copy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 13d91c4..5b4a759 100644 --- a/action.yml +++ b/action.yml @@ -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