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 }}