Skip to content

Commit

Permalink
add exclude folder
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed May 14, 2024
1 parent 79d174a commit ef7655b
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 @@ -42,7 +42,7 @@ jobs:
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 ..
aws s3 rm s3://bitespace-website-ssr --recursive
aws s3 sync --cache-control 'max-age=604800' s3://bitespace-website-ssr
aws s3 sync --cache-control 'max-age=604800' --exclude ./.next s3://bitespace-website-ssr
aws s3 sync ./.next s3://bitespace-website-ssr
- name: Deploy cloudformation stack
Expand Down

0 comments on commit ef7655b

Please sign in to comment.