Skip to content

Commit

Permalink
Merge pull request #178 from cuappdev/migrate-dev-server
Browse files Browse the repository at this point in the history
Removed alembic dependency to previous migrations
  • Loading branch information
JoshD94 authored Nov 20, 2024
2 parents c7794d0 + 7f287f3 commit f5c9379
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
sudo systemctl restart nginx
docker stack deploy -c docker-compose.yml the-stack --with-registry-auth
sleep 60s
docker exec $(docker ps -q -f name=the-stack_web) flask db stamp head
docker exec $(docker ps -q -f name=the-stack_web) flask db current
attempt=1
max_attempts=5
until docker exec $(docker ps -q -f name=the-stack_web) flask db upgrade || [ $attempt -eq $max_attempts ]
Expand Down

0 comments on commit f5c9379

Please sign in to comment.