Skip to content

Commit 9be3dd0

Browse files
committed
Add deploy step to CD
1 parent 84f4675 commit 9be3dd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ jobs:
3434

3535
- name: Build and push image to Google Artifact Registry
3636
run: "gcloud builds submit --tag us-central1-docker.pkg.dev/notely-478906/notely-ar-repo/notely:latest ."
37+
38+
- name: Deploy to Cloud Run
39+
run: gcloud run deploy notely --image us-central1-docker.pkg.dev/notely-478906/notely-ar-repo/notely:latest --region us-central1 --allow-unauthenticated --project notely-478906 --max-instances=4

0 commit comments

Comments
 (0)