Skip to content

Commit 86c4b87

Browse files
committed
Add cloud deploy step to cd
1 parent 294494e commit 86c4b87

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/cd.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,16 @@ jobs:
2020

2121
- name: Build notely
2222
run: scripts/buildprod.sh
23+
24+
- id: auth
25+
uses: google-github-actions/auth@v2
26+
with:
27+
credentials_json: ${{ secrets.GCP_CREDENTIALS }}
28+
29+
- name: Set up gcloud
30+
uses: google-github-actions/setup-gcloud@v3
31+
with:
32+
version: ">= 363.0.0"
33+
34+
- name: Push docker image to Google artifact
35+
run : gcloud builds submit --tag us-central1-docker.pkg.dev/imperial-glyph-474220-u1/notely-ar-repo/notely:latest .

0 commit comments

Comments
 (0)