From e8dc7f4941f6586d6cad28f42df4440e93aab230 Mon Sep 17 00:00:00 2001 From: Gagan trivedi Date: Wed, 21 Sep 2022 08:57:50 +0530 Subject: [PATCH] fix: workflow deploy on tag (#35) * fix: workflow deploy on tag * change to double quotes --- .github/workflows/sse-deploy-production-ecs.yml | 6 +++--- .github/workflows/sse-deploy-staging-ecs.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sse-deploy-production-ecs.yml b/.github/workflows/sse-deploy-production-ecs.yml index d780bb9..99b2708 100644 --- a/.github/workflows/sse-deploy-production-ecs.yml +++ b/.github/workflows/sse-deploy-production-ecs.yml @@ -2,12 +2,12 @@ name: Deploy SSE to Production ECS on: push: - branches: - - main + tags: + - "*" paths: - "src/**" - ".github/**" - - 'infrastructure/aws/production/**' + - "infrastructure/aws/production/**" jobs: deploy-production-ecs: runs-on: ubuntu-latest diff --git a/.github/workflows/sse-deploy-staging-ecs.yml b/.github/workflows/sse-deploy-staging-ecs.yml index 6b759bb..1ecf459 100644 --- a/.github/workflows/sse-deploy-staging-ecs.yml +++ b/.github/workflows/sse-deploy-staging-ecs.yml @@ -5,9 +5,9 @@ on: branches: - main paths: - - "api/**" + - "src/**" - ".github/**" - - 'infrastructure/aws/staging/**' + - "infrastructure/aws/staging/**" jobs: deploy-staging-ecs: