From 23a3e2f8c643c57e4529c294c3aef17a4db10421 Mon Sep 17 00:00:00 2001 From: Simone Ferretti Date: Mon, 19 Aug 2024 15:24:17 +0200 Subject: [PATCH] fix: use compose instead of docker-compose --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81d3f2f..ee347a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,11 @@ jobs: port: ${{ secrets.PORT }} command_timeout: 5m script: | - cd ~/repos/websocket/server + cd ~/repos/websocket/server/ git pull origin main git status if [ $(docker ps -q -f name=websocket-chat) ]; then docker-compose down fi - docker-compose build - docker-compose up -d + docker compose build + docker compose up -d