Skip to content

Commit 3b568fb

Browse files
authored
Merge pull request #11 from notEduardo/debug
adding new ENV variables
2 parents 2869852 + b202eba commit 3b568fb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
env:
4242
POSTGRES_STRING: ${{ secrets.POSTGRES_STRING }} # Format: postgres://user:password@/cloudsql/INSTANCE_CONNECTION_NAME/db_name
4343
PROJECT_ID: ${{ secrets.PROJECT_ID }}
44+
DB_USER: ${{ secrets.DB_USER}}
45+
DB_NAME: ${{ secrets.DB_NAME}}
46+
DB_PASSWORD: ${{ secrets.DB_PASSWORD}}
47+
DB_CONNECTION_NAME: ${{ secrets.DB_CONNECTION_NAME}}
4448
with:
4549
app_yaml_path: app.yaml
4650

app.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ entrypoint: yarn start
1313
env_variables:
1414
POSTGRES_STRING: $POSTGRES_STRING
1515
PROJECT_ID: $PROJECT_ID
16+
DB_USER: $DB_USER
17+
DB_NAME: $DB_NAME
18+
DB_PASSWORD: $DB_PASSWORD
19+
DB_CONNECTION_NAME: $DB_CONNECTION_NAME
1620

1721
# Automatic scaling configuration
1822
automatic_scaling:

0 commit comments

Comments
 (0)