diff --git a/.github/workflows/container-deploy.yml b/.github/workflows/container-deploy.yml index 17bef5d75a..24a440025f 100644 --- a/.github/workflows/container-deploy.yml +++ b/.github/workflows/container-deploy.yml @@ -167,9 +167,11 @@ jobs: script_stop: false script: | cd ${{ matrix.env}} + # Get the latest version (to apply migration next) + make pull # Apply migrations make migrate-db - # Start new version + # Launch new version make up - name: Check services are up diff --git a/Makefile b/Makefile index df572ef0a7..875fb8cb68 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,10 @@ else ${DOCKER_COMPOSE} up -d 2>&1 endif +# pull images from image repository +pull: + ${DOCKER_COMPOSE} pull + build: ${DOCKER_COMPOSE} build api 2>&1