From 94208b246518841ec5ad207fd468098963ec62c1 Mon Sep 17 00:00:00 2001 From: branberry Date: Wed, 8 May 2024 13:56:43 -0500 Subject: [PATCH] [DOP-4451]: Refactor enhanced deploy --- .github/workflows/deploy-stg-enhanced-worker.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-stg-enhanced-worker.yml b/.github/workflows/deploy-stg-enhanced-worker.yml index 150d653db..0381f6860 100644 --- a/.github/workflows/deploy-stg-enhanced-worker.yml +++ b/.github/workflows/deploy-stg-enhanced-worker.yml @@ -1,10 +1,10 @@ on: push: - paths: ['src/**', 'cdk-infra/lib/constructs/worker/**', 'Dockerfile', 'modules/**'] + # paths: ['src/**', 'cdk-infra/lib/constructs/worker/**', 'Dockerfile', 'modules/**'] branches: - 'main' - 'integration' - - "DOP-4451" + - 'DOP-4451' concurrency: group: environment-stg-enhanced-worker-${{ github.ref }} cancel-in-progress: true @@ -28,5 +28,8 @@ jobs: npm ci cd cdk-infra/ npm ci - npm run deploy:feature:stack -- -c env=dotcomstg -c customFeatureName=enhancedApp-dotcomstg auto-builder-stack-enhancedApp-dotcomstg-worker - npm run deploy:feature:stack -- -c env=stg -c customFeatureName=enhancedApp-stg auto-builder-stack-enhancedApp-stg-worker + npm run cdk destroy -- -c customFeatureName=enhancedApp-dotcomstg --force auto-builder-stack-enhancedApp-dotcomstg-webhooks + npm run deploy:feature:stack -- -c isFeatureBranch=true -c env=dotcomstg -c customFeatureName=enhancedApp-dotcomstg \ + auto-builder-stack-enhancedApp-dotcomstg-worker + npm run deploy:feature:stack -- -c isFeatureBranch=true -c env=dotcomstg -c customFeatureName=enhancedApp-dotcomstg \ + auto-builder-stack-enhancedApp-dotcomstg-webhooks