fix
This commit is contained in:
4
.github/workflows/deploy.yaml
vendored
4
.github/workflows/deploy.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user