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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user