Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
run: |
ssh ${{ secrets.SERVER_USER_DEV }}@${{ secrets.SERVER_DEV }} << 'EOF'
cd ${{ secrets.LOCATION_DEV }}
docker compose -f compose.yml up --build -d
docker compose -f compose.yml run --rm django python manage.py migrate
docker compose -f compose.yaml up --build -d
docker compose -f compose.yaml run --rm django python manage.py migrate
EOF

deploy_prod:
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
run: |
ssh ${{ secrets.SERVER_USER }}@${{ secrets.SERVER }} << 'EOF'
cd ${{ secrets.LOCATION }}
docker compose -f compose.yml up --build -d
docker compose -f compose.yml run --rm django python manage.py migrate
docker compose -f compose.yaml up --build -d
docker compose -f compose.yaml run --rm django python manage.py migrate
EOF

2 changes: 1 addition & 1 deletion config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
else:
DATABASES = {
"default": {
"ENGINE": "django.db.backends.mysql",
"ENGINE": "django.db.backends.postgresql",
"NAME": os.getenv("DB_NAME"),
"HOST": os.getenv("DB_HOST"),
"PORT": os.getenv("DB_PORT"),
Expand Down
Loading