fix: yaml syntax is pain

This commit is contained in:
2025-09-14 10:50:10 +03:00
parent 342c15e821
commit 13f43e7a41

View File

@@ -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