From 23ce8186c51c177ae8791037c325f97add492044 Mon Sep 17 00:00:00 2001 From: jimmy0251 Date: Sat, 29 Jan 2022 07:28:12 +0530 Subject: [PATCH] Deploy prod on tag --- .github/workflows/deploy-dev-backend.yml | 4 +--- .github/workflows/deploy-dev-frontend.yml | 4 +--- .github/workflows/deploy-prod-backend.yml | 4 +--- .github/workflows/deploy-prod-frontend.yml | 2 -- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy-dev-backend.yml b/.github/workflows/deploy-dev-backend.yml index 72964fab2..471e2b4d3 100644 --- a/.github/workflows/deploy-dev-backend.yml +++ b/.github/workflows/deploy-dev-backend.yml @@ -1,10 +1,8 @@ name: DeployDevBackend on: push: - tags: - - '*' branches: - - '*' + - 'master' jobs: deploy-backend: diff --git a/.github/workflows/deploy-dev-frontend.yml b/.github/workflows/deploy-dev-frontend.yml index 762d617ed..5bbe034c6 100644 --- a/.github/workflows/deploy-dev-frontend.yml +++ b/.github/workflows/deploy-dev-frontend.yml @@ -1,10 +1,8 @@ name: DeployDevFrontend on: push: - tags: - - '*' branches: - - '*' + - 'master' jobs: deploy-frontend: diff --git a/.github/workflows/deploy-prod-backend.yml b/.github/workflows/deploy-prod-backend.yml index 30dea8bfa..f279c5869 100644 --- a/.github/workflows/deploy-prod-backend.yml +++ b/.github/workflows/deploy-prod-backend.yml @@ -3,9 +3,7 @@ on: push: tags: - '*' - branches: - - '*' - + jobs: deploy-backend: runs-on: ubuntu-latest diff --git a/.github/workflows/deploy-prod-frontend.yml b/.github/workflows/deploy-prod-frontend.yml index 678da6da6..077581eff 100644 --- a/.github/workflows/deploy-prod-frontend.yml +++ b/.github/workflows/deploy-prod-frontend.yml @@ -3,8 +3,6 @@ on: push: tags: - '*' - branches: - - '*' jobs: deploy-frontend: