From 0740322830fb3e25a26c5cb7ee00344dffe6792c Mon Sep 17 00:00:00 2001 From: Sumita Canopas Date: Fri, 9 Feb 2024 10:04:22 +0530 Subject: [PATCH] Fix zip files --- .github/workflows/deploy-frontend-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-frontend-test.yml b/.github/workflows/deploy-frontend-test.yml index d55bfb0c4..84863854a 100644 --- a/.github/workflows/deploy-frontend-test.yml +++ b/.github/workflows/deploy-frontend-test.yml @@ -28,7 +28,8 @@ 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 - cd .output/server && zip server.zip -r . && ls && aws s3 sync server.zip s3://canopas-website-static && cd ../.. + cd .output/server && ls && zip server.zip -r . && ls && aws s3 sync server.zip s3://canopas-website-static && cd ../.. + ls 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"