Skip to content

Commit

Permalink
Remove duped envvar?
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Sep 6, 2023
1 parent b21cdd2 commit ac843a9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/backend/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
steps:
# Creates the production .env file
- name: 'alpine'
entrypoint: sh
args: ['-c', 'printenv > packages/backend/.env']
env:
- API_KEY=$_API_KEY
- RPC_URL=$_RPC_URL
- name: "gcr.io/cloud-builders/gcloud"
entrypoint: 'bash'
args:
- '-c'
- |
cd packages/backend
printenv > .env
ll
ls -la
cat .env
gcloud app deploy --no-cache --quiet
env:
- DATABASE_SERVICE=firebase
- API_KEY=$_API_KEY
- RPC_URL=$_RPC_URL
timeout: "1600s"

0 comments on commit ac843a9

Please sign in to comment.