Skip to content

Commit 111b4e4

Browse files
authored
set django settings config
1 parent 5edfa67 commit 111b4e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/django.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
git pull origin main &&
3636
source /home/django/djangoenv/bin/activate &&
3737
pip install -r requirements/production.txt &&
38-
python manage.py migrate &&
39-
python collectstatic --noinput &&
38+
python manage.py migrate --settings=config.settings.production &&
39+
python collectstatic --noinput --settings=config.settings.production &&
4040
supervisorctl restart django
4141
'

0 commit comments

Comments
 (0)