Skip to content

Commit

Permalink
Merge pull request #5 from notEduardo/debug
Browse files Browse the repository at this point in the history
cloud sql update
  • Loading branch information
notEduardo authored Dec 1, 2024
2 parents ebbf345 + fda74c7 commit ef82622
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ jobs:
- name: Replace app.yml secrets
uses: 73h/[email protected]
env:
POSTGRES_STRING: ${{ secrets.POSTGRES_STRING }}
POSTGRES_STRING: ${{ secrets.POSTGRES_STRING }} # Format: postgres://user:password@/cloudsql/INSTANCE_CONNECTION_NAME/db_name
PROJECT_ID: ${{ secrets.PROJECT_ID }}
SQL_INSTANCE_CONNECTION_NAME: ${{ secrets.SQL_INSTANCE_CONNECTION_NAME}}
with:
app_yaml_path: app.yaml

Expand Down
6 changes: 5 additions & 1 deletion app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ automatic_scaling:
# Network configuration
network:
instance_tag: solana-devnet-faucet-backend
name: default
name: default

# Cloud SQL Auth Proxy configuration
beta_settings:
cloud_sql_instances: $SQL_INSTANCE_CONNECTION_NAME

0 comments on commit ef82622

Please sign in to comment.