From a5c029ae834e66f5dcff12cd4f94d2a94308ea0e Mon Sep 17 00:00:00 2001 From: Aly Sewelam Date: Sun, 14 Sep 2025 11:24:31 +0300 Subject: [PATCH] fix: add some quotes n stuff --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 9f7ce8a..f0ff5bd 100644 --- a/action.yml +++ b/action.yml @@ -77,7 +77,8 @@ runs: -o UserKnownHostsFile= ~/.ssh/known_hosts \ -i ~/.ssh/id_rsa \ "${REMOTE_USER}@${REMOTE_HOST}" \ - docker-compose -f "${DEPLOYMENT_PATH}" up -d --timeout ${TIMEOUT} + cd "$(dirname "${DEPLOYMENT_PATH}")" \ + docker-compose up -d --timeout ${TIMEOUT} shell: bash - name: Verify services are running