Skip to content

Commit 7c539d0

Browse files
authored
Merge pull request #3 from Computer-Anything/dockerizeApp
Add database migration step to deployment workflow
2 parents a33abda + 80bfd74 commit 7c539d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ jobs:
2727
cd /home/shlacker2020/Batcave/CPT_ANYTHING/api_looter
2828
docker compose down
2929
docker compose up --build -d
30+
docker exec -it api_looter_web flask db upgrade
3031
docker exec -it api_looter_web python -m app.seed
3132
EOF

0 commit comments

Comments
 (0)