Skip to content

Commit fd0fc58

Browse files
committed
init
1 parent ca37ac3 commit fd0fc58

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ jobs:
3636
gcloud config set account ${{ secrets.SERVICE_ACCOUNT }}
3737
gcloud config set project ${{ secrets.PROJECT_ID }}
3838
39+
- name: Replace app.yml secrets
40+
41+
env:
42+
POSTGRES_STRING: ${{ secrets.POSTGRES_STRING }}
43+
with:
44+
app_yaml_path: app.yaml
45+
3946
- name: Deploy to App Engine
4047
uses: google-github-actions/deploy-appengine@v2
4148
with:

app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ entrypoint: yarn start
1111

1212
# Environment variables (replace with your actual values or secrets)
1313
env_variables:
14-
POSTGRES_STRING: ${{ secrets.POSTGRES_STRING }}
14+
POSTGRES_STRING: $POSTGRES_STRING
1515

1616
# Automatic scaling configuration
1717
automatic_scaling:

0 commit comments

Comments
 (0)