File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [ "main" ]
66
7- # Permissions for Workload Identity Federation
87permissions :
98 contents : read
109 id-token : write
@@ -22,24 +21,22 @@ jobs:
2221 id : auth
2322 uses : google-github-actions/auth@v2
2423 with :
25- project_id : " angularblogcloud-455518"
24+ project_id : " angularblogcloud-455518" # <-- Replace with your project if needed
2625 workload_identity_provider : " projects/863451014992/locations/global/workloadIdentityPools/github/providers/my-repo"
2726
28- # 3) (Optional) Install & configure gcloud CLI
27+ # 3) Install & configure gcloud CLI
2928 - name : Set up Cloud SDK
3029 uses : google-github-actions/setup-gcloud@v1
3130 with :
3231 export_default_credentials : true
3332
34- # 4) Configure region & enable APIs
33+ # 4) Configure region (no API enabling here)
3534 - name : Configure gcloud
3635 run : |
3736 gcloud config set project ${{ steps.auth.outputs.project_id }}
3837 gcloud config set run/region europe-central2
39- gcloud services enable run.googleapis.com
40- gcloud services enable cloudbuild.googleapis.com
4138
42- # 5) Install dependencies
39+ # 5) Install Node.js dependencies
4340 - name : Install Node dependencies
4441 run : npm install
4542
You can’t perform that action at this time.
0 commit comments