From 5ba41128149aa4509007aee2c57ad94ae753ec28 Mon Sep 17 00:00:00 2001 From: Sumita Canopas Date: Thu, 8 Feb 2024 21:42:00 +0530 Subject: [PATCH] Fix lambda zip --- .github/workflows/deploy-frontend-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-frontend-test.yml b/.github/workflows/deploy-frontend-test.yml index f8c3f4c5e..8b8a1bc57 100644 --- a/.github/workflows/deploy-frontend-test.yml +++ b/.github/workflows/deploy-frontend-test.yml @@ -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 -r server.zip && aws s3 sync ./server.zip s3://canopas-website-static + zip server.zip -r ./.output/server && aws s3 sync ./server.zip s3://canopas-website-static 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"