Skip to content

Commit c931ed4

Browse files
authored
Merge pull request #13 from golony6449/feature/add-allow-hosts
ALLOW_HOSTS 추가
2 parents 5284de2 + ed351ba commit c931ed4

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

.github/workflows/deploy_on_dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Deploy Django with zappa on DEV stage
33
on:
44
push:
55
branches: [devdev]
6+
workflow_dispatch:
67

78
jobs:
89
build:

.github/workflows/deploy_on_prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Deploy Django with zappa on PRODUCTION stage
33
on:
44
push:
55
branches: [main]
6+
workflow_dispatch:
7+
68
jobs:
79
build:
810
runs-on: ubuntu-latest

pyconkr/settings-dev.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
DEBUG = True
66

7+
ALLOWED_HOSTS += [
8+
"api-dev.pycon.kr",
9+
]
10+
711
# RDS
812
DATABASES = {
913
"default": {

pyconkr/settings-prod.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
DEBUG = False
66

7+
ALLOWED_HOSTS += [
8+
"api.pycon.kr",
9+
]
10+
711
# RDS
812
DATABASES = {
913
"default": {

0 commit comments

Comments
 (0)