Skip to content

Commit

Permalink
Update compose call to use the compose subcommand in the ci runner
Browse files Browse the repository at this point in the history
  • Loading branch information
BielStela committed Sep 13, 2024
1 parent c3b2d0e commit 50c8d32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Build and run tests
run: docker-compose up --build --exit-code-from test test
run: docker compose up --build --exit-code-from test test

- name: Clean up
run: docker-compose down
run: docker compose down

deploy:
name: Deploy
Expand All @@ -40,8 +40,8 @@ jobs:
script: |
cd amazonia-360
git pull --rebase
sudo docker-compose down
sudo docker-compose up -d api --build
sudo docker compose down
sudo docker compose up -d api --build
health-check:
name: Health Check
Expand Down

0 comments on commit 50c8d32

Please sign in to comment.