fix: yaml syntax is pain
This commit is contained in:
12
action.yml
12
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
|
||||
|
||||
Reference in New Issue
Block a user