Skip to content

Commit b21cdd2

Browse files
committed
Use the same step for cloudbuild
1 parent 379a994 commit b21cdd2

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

packages/backend/cloudbuild.yaml

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
steps:
2-
# Creates the production .env file
3-
- name: 'alpine'
4-
entrypoint: sh
5-
args: ['-c', 'printenv > packages/backend/.env']
6-
env:
7-
- DATABASE_SERVICE=firebase
8-
- API_KEY=$_API_KEY
9-
- RPC_URL=$_RPC_URL
102
- name: "gcr.io/cloud-builders/gcloud"
113
entrypoint: 'bash'
124
args:
135
- '-c'
146
- |
157
cd packages/backend
8+
printenv > .env
9+
ll
1610
gcloud app deploy --no-cache --quiet
11+
env:
12+
- DATABASE_SERVICE=firebase
13+
- API_KEY=$_API_KEY
14+
- RPC_URL=$_RPC_URL
1715
timeout: "1600s"

0 commit comments

Comments
 (0)