Skip to content

Commit

Permalink
Use server pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed May 14, 2024
1 parent 8c1b000 commit 683c627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ 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 && 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/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 ../../..
aws s3 rm s3://bitespace-website-ssr --recursive
aws s3 sync ./.next s3://bitespace-website-ssr
aws s3 sync ./.next/server/pages s3://bitespace-website-ssr
- name: Deploy cloudformation stack
id: bitespace-website-lambda-stack
Expand Down

0 comments on commit 683c627

Please sign in to comment.