From 7b2cd45c1d492134bfdb409e691a3fb428933b2b Mon Sep 17 00:00:00 2001 From: cp-dharti-r Date: Tue, 14 May 2024 11:05:29 +0530 Subject: [PATCH] Remove pages from zip --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0440cf..cea2472 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,7 +40,7 @@ jobs: sed -i "s|SUPABASE_URL_VALUE|${{ secrets.SUPABASE_URL }}|g" config.js sed -i "s|SUPABASE_ANON_KEY_VALUE|${{ secrets.SUPABASE_ANON_KEY }}|g" config.js npm install && npm run build - cd .next/server/pages && zip bitespace_website_SSR_${{ github.sha }}-${{ github.run_attempt }}.zip -r . && aws s3 cp bitespace_website_SSR_${{ github.sha }}-${{ github.run_attempt }}.zip s3://bitespace-lambda-handlers && cd ../../.. + cd .next/server && zip bitespace_website_SSR_${{ github.sha }}-${{ github.run_attempt }}.zip -r . && aws s3 cp bitespace_website_SSR_${{ github.sha }}-${{ github.run_attempt }}.zip s3://bitespace-lambda-handlers && cd ../.. aws s3 rm s3://bitespace-website-ssr --recursive aws s3 sync ./.next/server/pages s3://bitespace-website-ssr