Skip to content

Commit

Permalink
Fix lambda zip
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Feb 8, 2024
1 parent 5ba4112 commit aec57a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-frontend-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sed -i "s|CLOUDFRONT_URL_VALUE|${{ secrets.CLOUDFRONT_URL_VALUE }}|g" config.js
sh ./../deploy/generate-sitemap.sh https://dev-stack.canopas.com https://dev-stack-api.canopas.com
yarn install --frozen-lockfile && yarn build
zip server.zip -r ./.output/server && aws s3 sync ./server.zip s3://canopas-website-static
cd .output/server && zip server.zip -r . && aws s3 sync server.zip s3://canopas-website-static && cd ../..
aws s3 sync ./.output/public s3://canopas-website-static --exclude "*.js"
aws s3 sync ./.output/public s3://canopas-website-static --include "*.js" --content-type "application/javascript"
Expand Down

0 comments on commit aec57a4

Please sign in to comment.