From 0d1aaf940b1376cf05704023d67c549d07dfb606 Mon Sep 17 00:00:00 2001 From: Darius Rapalis Date: Sun, 16 Mar 2025 15:05:54 +0200 Subject: [PATCH] automatic deployment? --- .github/workflows/cd.yml | 5 ++++- static/index.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0450c67..37433b9 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -37,4 +37,7 @@ jobs: run: 'gcloud info' - name: Push to Google - run: gcloud builds submit --tag us-central1-docker.pkg.dev/notely-453912/notely-ar-repo/notely:latest . \ No newline at end of file + run: gcloud builds submit --tag us-central1-docker.pkg.dev/notely-453912/notely-ar-repo/notely:latest . + + - name: Deploy to Cloud Run + run: gcloud run deploy notely --image us-central1-docker.pkg.dev/notely-453912/notely-ar-repo/notely:latest --region s-central1 --allow-unauthenticated --project notely-453912 --max-instances=4 \ No newline at end of file diff --git a/static/index.html b/static/index.html index 72be101..5d4ad73 100644 --- a/static/index.html +++ b/static/index.html @@ -7,7 +7,7 @@ -

Notely

+

Welcome to Notely