From 13f43e7a411ec7c2476386f582cdd3a437825770 Mon Sep 17 00:00:00 2001 From: Aly Sewelam Date: Sun, 14 Sep 2025 10:50:10 +0300 Subject: [PATCH] fix: yaml syntax is pain --- action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 67d4bd0..030f971 100644 --- a/action.yml +++ b/action.yml @@ -72,8 +72,8 @@ runs: scp -o StrictHostKeyChecking=yes \ -o UserKnownHostsFile=~/.ssh/known_hosts \ -i ~/.ssh/id_rsa \ - "${DOCKER_COMPOSE_PATH}" \ - "${REMOTE_USER}@${REMOTE_HOST}:${DEPLOYMENT_PATH}" + ${DOCKER_COMPOSE_PATH} \ + ${REMOTE_USER}@${REMOTE_HOST}:${DEPLOYMENT_PATH} shell: bash - name: Deploy services via SSH @@ -81,8 +81,8 @@ runs: ssh -o StrictHostKeyChecking=yes \ -o UserKnownHostsFile= ~/.ssh/known_hosts \ -i ~/.ssh/id_rsa \ - "${REMOTE_USER}@${REMOTE_HOST}" \ - "docker-compose -f ${DEPLOYMENT_PATH} up -d --timeout ${TIMEOUT}" + ${REMOTE_USER}@${REMOTE_HOST} \ + docker-compose -f ${DEPLOYMENT_PATH} up -d --timeout ${TIMEOUT} shell: bash - name: Verify services are running @@ -90,8 +90,8 @@ runs: ssh -o StrictHostKeyChecking=yes \ -o UserKnownHostsFile= ~/.ssh/known_hosts \ -i ~/.ssh/id_rsa \ - "${REMOTE_USER}@${REMOTE_HOST}" \ - "docker-compose -f ${DEPLOYMENT_PATH} ps" + ${REMOTE_USER}@${REMOTE_HOST} \ + docker-compose -f ${DEPLOYMENT_PATH} ps shell: bash - name: Final success message