From 957f63f612230a83a7717c9a20a17c25878423c3 Mon Sep 17 00:00:00 2001 From: Pierre Gauthier Date: Tue, 12 Mar 2024 14:48:13 +0100 Subject: [PATCH] [VectorSearch] Reload model after deployment --- .github/workflows/deploy-int.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-int.yml b/.github/workflows/deploy-int.yml index 434a924d8..30735454f 100644 --- a/.github/workflows/deploy-int.yml +++ b/.github/workflows/deploy-int.yml @@ -78,5 +78,6 @@ jobs: docker-compose run --rm -e COMPOSER_AUTH='$COMPOSER_AUTH' php composer require \"gally/gally-standard:${{ env.composer_version }} as ${{ inputs.last_published_version }}\" && docker-compose run --rm -e COMPOSER_AUTH='$COMPOSER_AUTH' php composer require \"gally/gally-premium:${{ env.composer_version }}\" && [ -z ${MEDIA_URL} ] || echo -e \"gally:\n base_url:\n media: '$MEDIA_URL'\" > api/config/packages/gally_configuration.yaml && - SERVER_NAME=$HOSTNAME APP_SECRET=$APP_SECRET POSTGRES_PASSWORD=$POSTGRES_PASSWORD COMPOSER_AUTH='$COMPOSER_AUTH' docker-compose -f docker-compose.yml -f docker-compose.int.yml up -d --build + SERVER_NAME=$HOSTNAME APP_SECRET=$APP_SECRET POSTGRES_PASSWORD=$POSTGRES_PASSWORD COMPOSER_AUTH='$COMPOSER_AUTH' docker-compose -f docker-compose.yml -f docker-compose.int.yml up -d --build + docker-compose -f docker-compose.yml -f docker-compose.int.yml exec php bin/console gally:vector-search:upload-model "