feat: docker-compose to docker compose
This commit is contained in:
@@ -77,7 +77,7 @@ runs:
|
|||||||
-o UserKnownHostsFile=~/.ssh/known_hosts \
|
-o UserKnownHostsFile=~/.ssh/known_hosts \
|
||||||
-i ~/.ssh/id_rsa \
|
-i ~/.ssh/id_rsa \
|
||||||
"${REMOTE_USER}@${REMOTE_HOST}" \
|
"${REMOTE_USER}@${REMOTE_HOST}" \
|
||||||
"cd $(dirname ${DEPLOYMENT_PATH}) && docker-compose up -d --timeout ${TIMEOUT}"
|
"cd $(dirname ${DEPLOYMENT_PATH}) && docker compose up -d --timeout ${TIMEOUT}"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Verify services are running
|
- name: Verify services are running
|
||||||
@@ -86,7 +86,7 @@ runs:
|
|||||||
-o UserKnownHostsFile=~/.ssh/known_hosts \
|
-o UserKnownHostsFile=~/.ssh/known_hosts \
|
||||||
-i ~/.ssh/id_rsa \
|
-i ~/.ssh/id_rsa \
|
||||||
"${REMOTE_USER}@${REMOTE_HOST}" \
|
"${REMOTE_USER}@${REMOTE_HOST}" \
|
||||||
docker-compose -f ${DEPLOYMENT_PATH} ps
|
docker compose -f ${DEPLOYMENT_PATH} ps
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Final success message
|
- name: Final success message
|
||||||
|
|||||||
Reference in New Issue
Block a user