Skip to content

Commit

Permalink
fix version db
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-lymar committed May 18, 2024
1 parent f71a4ad commit 145644a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Debag
# Debug
DEBUG=True

# CORS
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ jobs:
DATABASE_HOST: postgres
DATABASE_PORT: 5432
DEBUG: ${{ secrets.DEBUG }}
CORS_ALLOWED_ORIGINS: ${{ secrets.CORS_ALLOWED_ORIGINS }}
ALLOWED_HOSTS: ${{ secrets.ALLOWED_HOSTS }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
EMAIL_HOST: ${{ secrets.EMAIL_HOST }}
EMAIL_PORT: ${{ secrets.EMAIL_PORT }}
EMAIL_HOST_USER: ${{ secrets.EMAIL_HOST_USER }}
EMAIL_HOST_PASSWORD: ${{ secrets.EMAIL_HOST_PASSWORD }}
run: python3 manage.py migrate
- name: Tests
env:
Expand All @@ -85,7 +78,7 @@ jobs:
build:
needs: test
runs-on: ubuntu-latest

if: github.event_name == 'pull_request' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Copy repository contents via scp
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.8'
services:
db:
image: postgres:16.2-alpine3.18
image: postgres:16.3-alpine
env_file:
- .env
environment:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.8'
services:
db:
image: postgres:16.2-alpine3.18
image: postgres:16.3-alpine
env_file:
- .env
environment:
Expand Down

0 comments on commit 145644a

Please sign in to comment.