Skip to content

Commit

Permalink
Merge pull request #11 from notEduardo/debug
Browse files Browse the repository at this point in the history
adding new ENV variables
  • Loading branch information
notEduardo authored Dec 2, 2024
2 parents 2869852 + b202eba commit 3b568fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
env:
POSTGRES_STRING: ${{ secrets.POSTGRES_STRING }} # Format: postgres://user:password@/cloudsql/INSTANCE_CONNECTION_NAME/db_name
PROJECT_ID: ${{ secrets.PROJECT_ID }}
DB_USER: ${{ secrets.DB_USER}}
DB_NAME: ${{ secrets.DB_NAME}}
DB_PASSWORD: ${{ secrets.DB_PASSWORD}}
DB_CONNECTION_NAME: ${{ secrets.DB_CONNECTION_NAME}}
with:
app_yaml_path: app.yaml

Expand Down
4 changes: 4 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ entrypoint: yarn start
env_variables:
POSTGRES_STRING: $POSTGRES_STRING
PROJECT_ID: $PROJECT_ID
DB_USER: $DB_USER
DB_NAME: $DB_NAME
DB_PASSWORD: $DB_PASSWORD
DB_CONNECTION_NAME: $DB_CONNECTION_NAME

# Automatic scaling configuration
automatic_scaling:
Expand Down

0 comments on commit 3b568fb

Please sign in to comment.