From 216ed4df2728a0b1821264258bb05c4f2e32f1c8 Mon Sep 17 00:00:00 2001 From: branberry Date: Fri, 26 Jan 2024 09:52:18 -0600 Subject: [PATCH] [DOP-4171]: Revert deploy feature branch workflow --- .github/workflows/deploy-feature-branch.yml | 22 +++++++++------------ 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy-feature-branch.yml b/.github/workflows/deploy-feature-branch.yml index 0154abae3..1da880844 100644 --- a/.github/workflows/deploy-feature-branch.yml +++ b/.github/workflows/deploy-feature-branch.yml @@ -21,23 +21,11 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-2 - - - name: Install Node Dependencies + - name: Deploy Feature Branch Infrastructure run: | npm ci cd cdk-infra/ npm ci - - - name: Cache root node_modules - id: cache-root - uses: actions/cache@v3 - with: - path: | - node_modules - cdk-infra/node_modules - key: ${{ github.head_ref }} - - name: Deploy Feature Branch Infrastructure - run: | npm run deploy:feature:stack -- -c env=stg -c customFeatureName=enhancedApp-stg-${{github.head_ref}} auto-builder-stack-enhancedApp-stg-${{github.head_ref}}-queues npm run deploy:feature:stack -- -c env=stg -c customFeatureName=enhancedApp-stg-${{github.head_ref}} auto-builder-stack-enhancedApp-stg-${{github.head_ref}}-worker npm run deploy:feature:stack -- -c env=stg -c customFeatureName=enhancedApp-stg-${{github.head_ref}} auto-builder-stack-enhancedApp-stg-${{github.head_ref}}-webhooks --outputs-file outputs.json @@ -45,3 +33,11 @@ jobs: uses: mongodb/docs-worker-actions/comment-pr@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Cache root node_modules + id: cache-root + uses: actions/cache@v3 + with: + path: | + node_modules + cdk-infra/node_modules + key: ${{ github.head_ref }} \ No newline at end of file