From 0913374e1f594fc51446787038de5074be5a11cb Mon Sep 17 00:00:00 2001 From: Dyakov Roman Date: Mon, 20 Mar 2023 16:32:53 +0300 Subject: [PATCH] Fix CI static path --- .github/workflows/build_and_publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 55f24e64..d660206b 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -73,6 +73,7 @@ jobs: --network=web \ --env DB_DSN=${{ secrets.DB_DSN }} \ --name ${{ env.CONTAITER_NAME }}_migration \ + --env STATIC_PATH=/app/static \ --workdir="/" \ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test \ alembic upgrade head @@ -119,6 +120,7 @@ jobs: --network=web \ --env DB_DSN=${{ secrets.DB_DSN }} \ --name ${{ env.CONTAITER_NAME }}_migration \ + --env STATIC_PATH=/app/static \ --workdir="/" \ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \ alembic upgrade head