From 1aef9df83ac7f268e993b92c79c2ae2b82223f27 Mon Sep 17 00:00:00 2001 From: Nikita Andriyanov Date: Tue, 4 Feb 2025 15:36:42 +0300 Subject: [PATCH] fix --- .github/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e95f80f..a951adf 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -55,9 +55,9 @@ jobs: source .env cat .env - name: Migrate - if: ${{ inputs.migrate == true }} + if: ${{ inputs.migrate }} run: | - docker run -it --rm cr.yandex/$CR_REGISTRY/$CR_REPO:$TAG alembic upgrade head --env-file=.env + docker run --pull=always -it --rm cr.yandex/$CR_REGISTRY/$CR_REPO:$TAG alembic upgrade head --env-file=.env - name: Deploy env: DOCKER_HOST: tcp://${{ inputs.host }}:2376