From 7919c091616f1d190898ba539ac69dab06312b5c Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Tue, 9 Jul 2024 16:07:59 +0200 Subject: [PATCH] chore: Update GitHub Actions workflows to trigger on tag pushes This commit updates the GitHub Actions workflows for the backend services (quivr-com-backend, quivr-com, raise-frontend, raise, theodo-backend, and theodo-frontend) to trigger on tag pushes instead of branch pushes. This change allows for more controlled deployments and ensures that only tagged versions are deployed to the respective environments. --- .github/workflows/porter_stack_quivr-com-backend.yml | 7 ++++--- .github/workflows/porter_stack_quivr-com.yml | 6 +++--- .github/workflows/porter_stack_raise-frontend.yml | 6 +++--- .github/workflows/porter_stack_raise.yml | 6 +++--- .github/workflows/porter_stack_theodo-backend.yml | 6 +++--- .github/workflows/porter_stack_theodo-frontend.yml | 6 +++--- backend/core/.release-please-manifest.json | 3 +++ 7 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.github/workflows/porter_stack_quivr-com-backend.yml b/.github/workflows/porter_stack_quivr-com-backend.yml index 879fbfb82..1667664e2 100644 --- a/.github/workflows/porter_stack_quivr-com-backend.yml +++ b/.github/workflows/porter_stack_quivr-com-backend.yml @@ -1,7 +1,8 @@ -"on": +on: push: - branches: - - main + tags: + - "v*" + name: Deploy to quivr-com-backend jobs: porter-deploy: diff --git a/.github/workflows/porter_stack_quivr-com.yml b/.github/workflows/porter_stack_quivr-com.yml index d6d2521ae..ed54fb48e 100644 --- a/.github/workflows/porter_stack_quivr-com.yml +++ b/.github/workflows/porter_stack_quivr-com.yml @@ -1,7 +1,7 @@ -"on": +on: push: - branches: - - main + tags: + - "v*" name: Deploy to quivr-com jobs: porter-deploy: diff --git a/.github/workflows/porter_stack_raise-frontend.yml b/.github/workflows/porter_stack_raise-frontend.yml index a03dac874..1d42add13 100644 --- a/.github/workflows/porter_stack_raise-frontend.yml +++ b/.github/workflows/porter_stack_raise-frontend.yml @@ -1,7 +1,7 @@ -"on": +on: push: - branches: - - main + tags: + - "v*" name: Deploy to raise-frontend jobs: porter-deploy: diff --git a/.github/workflows/porter_stack_raise.yml b/.github/workflows/porter_stack_raise.yml index 55a2fc25a..39013d783 100644 --- a/.github/workflows/porter_stack_raise.yml +++ b/.github/workflows/porter_stack_raise.yml @@ -1,7 +1,7 @@ -"on": +on: push: - branches: - - main + tags: + - "v*" name: Deploy to raise jobs: porter-deploy: diff --git a/.github/workflows/porter_stack_theodo-backend.yml b/.github/workflows/porter_stack_theodo-backend.yml index a95cf88e8..114a6e972 100644 --- a/.github/workflows/porter_stack_theodo-backend.yml +++ b/.github/workflows/porter_stack_theodo-backend.yml @@ -1,7 +1,7 @@ -"on": +on: push: - branches: - - main + tags: + - "v*" name: Deploy to theodo-backend jobs: porter-deploy: diff --git a/.github/workflows/porter_stack_theodo-frontend.yml b/.github/workflows/porter_stack_theodo-frontend.yml index 0f25af561..4f53c218d 100644 --- a/.github/workflows/porter_stack_theodo-frontend.yml +++ b/.github/workflows/porter_stack_theodo-frontend.yml @@ -1,7 +1,7 @@ -"on": +on: push: - branches: - - main + tags: + - "v*" name: Deploy to theodo-frontend jobs: porter-deploy: diff --git a/backend/core/.release-please-manifest.json b/backend/core/.release-please-manifest.json index e69de29bb..7a8f74a1a 100644 --- a/backend/core/.release-please-manifest.json +++ b/backend/core/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + "backend/core": "0.0.1" +} \ No newline at end of file