Skip to content

Commit

Permalink
fix db Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
celer committed Jun 7, 2024
1 parent 23924a9 commit ba006ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
script: |
docker compose down
docker compose down --remove-orphans -v
docker system prune -a -f
- name: Send files to server
Expand Down Expand Up @@ -59,5 +59,5 @@ jobs:
password: ${{ secrets.SERVER_PASSWORD }}
script: |
cd /${{ secrets.SERVER_USERNAME }}/api/vocab_dictionnary/
docker compose run web python manage.py makemigrations
docker compose run web python manage.py migrate
docker compose exec web python manage.py makemigrations
docker compose exec web python manage.py migrate

0 comments on commit ba006ae

Please sign in to comment.