Skip to content

Commit

Permalink
Remove pages from zip
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed May 14, 2024
1 parent 683c627 commit 7b2cd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b2cd45

Please sign in to comment.