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