Skip to content

Commit 0a6cde8

Browse files
committed
Added new secrets for DB testing
1 parent a3bbbcd commit 0a6cde8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ on:
9898
DB_NAME:
9999
description: "Database Name for fetching test data"
100100
required: false
101+
GCP_DB_CREDS:
102+
description: "The JSON API Key for database testing"
103+
required: false
104+
GCP_PROJECT_ID:
105+
description: "The Project ID for database testing"
106+
required: false
101107

102108
jobs:
103109
setup:
@@ -213,6 +219,8 @@ jobs:
213219
DB_HOST: ${{ secrets.DB_HOST }}
214220
DB_PORT: ${{ secrets.DB_PORT }}
215221
DB_NAME: ${{ secrets.DB_NAME }}
222+
GCP_SERVICE_ACCOUNT_KEY: {{$ secrets.GCP_DB_CREDS }}
223+
GCP_PROJECT_ID: {{$ secrets.GCP_DB_PROJECT_ID }}
216224

217225

218226
deploy-production:

0 commit comments

Comments
 (0)