Skip to content

Commit

Permalink
Build: Update Docker commands in workflow to make migrations and appl…
Browse files Browse the repository at this point in the history
…ying them before starting the application

Co-authored-by: Simon Sandvik Lee <[email protected]>
  • Loading branch information
SverreNystad and sandviklee committed Jan 5, 2024
1 parent c4e6695 commit efa2e10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
run: |
cd backend
docker compose build
docker compose up -d
docker compose run tutorai python manage.py makemigrations
docker compose run tutorai python manage.py migrate
docker compose up -d
docker compose run tutorai python manage.py test
docker compose down

0 comments on commit efa2e10

Please sign in to comment.