Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 4a2361b

Browse files
authored
Merge pull request #91 from codewizardshq/mg-list-config
support for Testing environment and separate mailing lists.
2 parents 12f8163 + b1fcaa2 commit 4a2361b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
env:
99
EB_ENV_NAME: code-challenge-prod
10+
EB_ENV_TEST: code-challenge-testing
1011

1112
jobs:
1213
deploy:
@@ -50,3 +51,5 @@ jobs:
5051
echo -e "[default]\nregion=${{ secrets.AWS_DEFAULT_REGION }}\noutput=json" > ~/.aws/config
5152
- name: Deploy
5253
run: eb deploy ${{ env.EB_ENV_NAME }}
54+
- name: Deploy (TESTING ENV)
55+
run: eb deploy ${{ env.EB_ENV_TEST }}

CodeChallenge/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class ProductionConfig(DefaultConfig):
7474
SANDBOX_API_URL = os.getenv("SANDBOX_API_URL")
7575
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
7676
SHEET_ID = os.getenv("SHEET_ID")
77+
MG_LIST = os.getenv("MG_LIST")
7778

7879

7980
class DevelopmentConfig(ProductionConfig):

0 commit comments

Comments
 (0)