Skip to content

Commit b5fbdb1

Browse files
migrations fix (#25)
1 parent 2002b38 commit b5fbdb1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build_and_publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
--network=web \
7272
--env DB_DSN=${{ secrets.DB_DSN }} \
7373
--name ${{ env.CONTAITER_NAME }}_migration \
74+
--workdir="/" \
7475
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test \
7576
alembic upgrade head
7677
@@ -115,6 +116,7 @@ jobs:
115116
--network=web \
116117
--env DB_DSN=${{ secrets.DB_DSN }} \
117118
--name ${{ env.CONTAITER_NAME }}_migration \
119+
--workdir="/" \
118120
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest \
119121
alembic upgrade head
120122

0 commit comments

Comments
 (0)