Skip to content

Commit 452cafa

Browse files
authored
UPD: remove database dependence from workflow
1 parent 68235cc commit 452cafa

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/cd-workflow.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,13 @@ jobs:
102102

103103
- name: Deploy to Cloud Run
104104
id: deploy
105-
uses: google-github-actions/deploy-cloudrun@v2
105+
uses: google-github-actions/deploy-cloudrun@v1
106106
with:
107+
project_id: ${{ secrets.GCP_PROJECT_ID }}
107108
service: ${{ secrets.GCP_CLOUD_RUN_SERVICE }}
108109
image: ${{ secrets.GCP_GAR_REPO }}/backstage-image:${{ github.sha }}
109110
region: ${{ secrets.GCP_REGION }}
110111
flags: >
111112
--allow-unauthenticated
112-
--port=7007
113-
--add-cloudsql-instances=code-idp:europe-west10:backstage-pg2
114113
env_vars: |
115-
POSTGRES_USER=postgres
116-
POSTGRES_HOST=/cloudsql/code-idp:europe-west10:backstage-pg2
117-
POSTGRES_PORT=5432
118114
BASE_URL=https://backstage.foundations-software-engineering.com

0 commit comments

Comments
 (0)