diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index dd80c7f..1ac699c 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -65,7 +65,7 @@ jobs: script: | docker pull quackai/contribution-api:latest docker rmi -f $(docker images -f "dangling=true" -q) - cd devops && docker compose stop backend && docker compose up -d && docker compose exec backend alembic upgrade head + cd devops && docker compose stop backend && docker compose up -d --wait && docker compose exec backend alembic upgrade head docker inspect -f '{{ .Created }}' $(docker compose images -q backend) - name: Ping server env: