This commit is contained in:
2025-02-04 15:36:42 +03:00
parent aaa5b9a7b0
commit 1aef9df83a

View File

@@ -55,9 +55,9 @@ jobs:
source .env source .env
cat .env cat .env
- name: Migrate - name: Migrate
if: ${{ inputs.migrate == true }} if: ${{ inputs.migrate }}
run: | 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 - name: Deploy
env: env:
DOCKER_HOST: tcp://${{ inputs.host }}:2376 DOCKER_HOST: tcp://${{ inputs.host }}:2376