From c806abcc4306bb93064fb4b757060c3904b5c3f9 Mon Sep 17 00:00:00 2001 From: Aly Sewelam Date: Sun, 14 Sep 2025 11:40:36 +0300 Subject: [PATCH] fix: ssh command syntax is pain --- action.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 86503a1..d5cc90c 100644 --- a/action.yml +++ b/action.yml @@ -77,10 +77,7 @@ runs: -o UserKnownHostsFile=~/.ssh/known_hosts \ -i ~/.ssh/id_rsa \ "${REMOTE_USER}@${REMOTE_HOST}" \ - echo "$(dirname "${DEPLOYMENT_PATH}")" \ - cd "$(dirname "${DEPLOYMENT_PATH}")" \ - echo "$(pwd)" \ - docker-compose up -d --timeout ${TIMEOUT} + "cd "$(dirname "${DEPLOYMENT_PATH}")" && docker-compose up -d --timeout ${TIMEOUT}" shell: bash - name: Verify services are running