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
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