Skip to content

Commit c350a8f

Browse files
committed
update
1 parent 8ad75ff commit c350a8f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/deployment.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,18 @@ on:
55
branches:
66
- main
77
- dev
8+
9+
pull_request:
10+
branches:
11+
- main
12+
- dev
13+
types:
14+
- closed
815
env:
916
PROJECT_ID: ${{ secrets.PROJECT_ID }}
1017

1118
jobs:
12-
build:
19+
build-and-deploy:
1320
permissions:
1421
contents: 'read'
1522
id-token: 'write'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gcloud iam service-accounts create \
2121

2222
gcloud projects add-iam-policy-binding "${PROJECT_ID}" \
2323
--member="serviceAccount:cloud-run-sa@${PROJECT_ID}.iam.gserviceaccount.com" \
24-
--role="roles/artifactregistry.repoAdmin,roles/run.developer"
24+
--role="roles/artifactregistry.repoAdmin,roles/run.admin"
2525
```
2626

2727
- Create a new Workload Identity Pool

0 commit comments

Comments
 (0)