Skip to content

Commit

Permalink
feat: add service account
Browse files Browse the repository at this point in the history
  • Loading branch information
esaminu committed Aug 6, 2024
1 parent 0f0162c commit 987e4de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-cloud-functions-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ jobs:
- name: 'Deploy Cloud Functions'
run: |
cd packages/functions
echo "Current directory contents:"
ls -R
gcloud config set project pagoda-oboarding-dev
gcloud functions deploy verifyOTP \
--runtime nodejs18 \
--trigger-http \
--allow-unauthenticated \
--service-account=firebase-adminsdk-bygsj@pagoda-oboarding-dev.iam.gserviceaccount.com \
--region=us-central1 \
--entry-point=verifyOTP \
--source=lib \
Expand All @@ -46,6 +49,7 @@ jobs:
--runtime nodejs18 \
--trigger-http \
--allow-unauthenticated \
--service-account=firebase-adminsdk-bygsj@pagoda-oboarding-dev.iam.gserviceaccount.com \
--region=us-central1 \
--entry-point=sendOTP \
--source=lib \
Expand Down

0 comments on commit 987e4de

Please sign in to comment.