Skip to content

Commit

Permalink
Update firestore.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
milaGGL committed Oct 16, 2023
1 parent 997576b commit 867c6ee
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,20 +177,12 @@ jobs:
run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/firestore.plist.gpg \
Firestore/Example/App/GoogleService-Info.plist "$plist_secret"

- name: Install Secret Firestore Service Account key
# create composite indexes with Terraform
- name: Authenticate Google Cloud SDK
run: |
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/firestore-integration.json.gpg \
Firestore/Example/App/GoogleServiceAccount.json "$plist_secret"
pwd
cd Firestore/Example/App
ls
# create composite indexes with Terraform
# - name: Set up Cloud SDK
# uses: google-github-actions/auth@v0
# with:
# credentials_json: ${{ Firestore/Example/App/GoogleServiceAccount.json }}
# export_environment_variables: true
gcloud auth activate-service-account --key-file Firestore/Example/App/GoogleServiceAccount.json
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
- name: Terraform Init
Expand All @@ -203,8 +195,6 @@ jobs:
python scripts/decrypt_project_info.py Firestore/Example/App/GoogleService-Info.plist
cd Firestore
terraform apply -var-file=Example/App/project_info.json -auto-approve &> /dev/null
rm Example/App/project_info.json
rm Example/App/GoogleServiceAccount.json
continue-on-error: true

- name: Setup build
Expand Down

0 comments on commit 867c6ee

Please sign in to comment.