File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 10
10
environment :
11
11
name : prod
12
12
env :
13
- DATABASE_HOSTNAME : ${{secrets.DATABASE_HOSTNAME }}
13
+ DATABASE_HOSTNAME : ${{secrets.DB_HOSTNAME }}
14
14
DATABASE_PORT : ${{secrets.DATABASE_PORT}}
15
15
DATABASE_PASSWORD : ${{secrets.DATABASE_PASSWORD}}
16
16
DATABASE_NAME : ${{secrets.DATABASE_NAME}}
@@ -43,19 +43,10 @@ jobs:
43
43
cd frontend
44
44
npm install
45
45
46
- - name : Print Database Secrets
46
+ - name : Apply Django Migrations
47
47
run : |
48
- echo "DATABASE_HOSTNAME: $DATABASE_HOSTNAME"
49
- echo "DATABASE_PORT: $DATABASE_PORT"
50
- echo "DATABASE_PASSWORD: $DATABASE_PASSWORD"
51
- echo "DATABASE_NAME: $DATABASE_NAME"
52
- echo "DATABASE_USERNAME: $DATABASE_USERNAME"
53
- echo "SECRET_KEY: $SECRET_KEY"
54
-
55
- # - name: Apply Django Migrations
56
- # run: |
57
- # cd backend
58
- # python manage.py migrate
48
+ cd backend
49
+ python manage.py migrate
59
50
60
51
61
52
# Deploy:
You can’t perform that action at this time.
0 commit comments