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
1 change: 1 addition & 0 deletions .github/workflows/deploy_on_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Deploy Django with zappa on DEV stage
on:
push:
branches: [devdev]
workflow_dispatch:

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy_on_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Deploy Django with zappa on PRODUCTION stage
on:
push:
branches: [main]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions pyconkr/settings-dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

DEBUG = True

ALLOWED_HOSTS += [
"api-dev.pycon.kr",
]

# RDS
DATABASES = {
"default": {
Expand Down
4 changes: 4 additions & 0 deletions pyconkr/settings-prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

DEBUG = False

ALLOWED_HOSTS += [
"api.pycon.kr",
]

# RDS
DATABASES = {
"default": {
Expand Down