From 091690c92db960c0f997085e91fe427f0279cb4f Mon Sep 17 00:00:00 2001 From: aloftus23 Date: Wed, 11 Dec 2024 08:23:59 -0500 Subject: [PATCH] Remove production serverless --- .github/workflows/backend.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 9736196e..0ca9974a 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -218,15 +218,8 @@ jobs: - name: Install dependencies run: npm ci - - name: Ensure domain exists - run: npx sls create_domain --stage=prod - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - SLS_DEBUG: '*' - - - name: Deploy backend - run: npx sls deploy --stage=prod + - name: Remove backend + run: npx sls remove --stage=prod env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}