diff --git a/.github/workflows/deploy-to-staging.yml b/.github/workflows/deploy-to-staging.yml index aceb18b4..7346203f 100644 --- a/.github/workflows/deploy-to-staging.yml +++ b/.github/workflows/deploy-to-staging.yml @@ -68,10 +68,10 @@ jobs: docker compose up -d # Wait for PostgreSQL to be ready - until docker-compose exec store pg_isready; do sleep 5; done + until docker compose exec store pg_isready; do sleep 5; done - docker-compose exec store flask db migrate - docker-compose exec store flask db upgrade + docker compose exec store flask db migrate + docker compose exec store flask db upgrade ' - name: Run Docker commands in compose directory if changes detected @@ -84,10 +84,10 @@ jobs: docker compose up -d # Wait for PostgreSQL to be ready - until docker-compose exec compose pg_isready; do sleep 5; done + until docker compose exec compose pg_isready; do sleep 5; done - docker-compose exec compose flask db migrate - docker-compose exec compose flask db upgrade + docker compose exec compose flask db migrate + docker compose exec compose flask db upgrade ' - name: Skip Docker commands and run frontend build if only frontend changes detected