From ab9587e036f15f71aadc36c3427cd05254dfcff6 Mon Sep 17 00:00:00 2001 From: Sumita Canopas Date: Fri, 9 Feb 2024 10:08:10 +0530 Subject: [PATCH] Fix zip files --- .github/workflows/deploy-frontend-test.yml | 2 +- nuxt-frontend/pages/[slug].vue | 4 ++-- nuxt-frontend/tailwind.config.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-frontend-test.yml b/.github/workflows/deploy-frontend-test.yml index 84863854a..047c573d5 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 - cd .output/server && ls && 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 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" diff --git a/nuxt-frontend/pages/[slug].vue b/nuxt-frontend/pages/[slug].vue index 062e0d53c..af5f8d9f6 100644 --- a/nuxt-frontend/pages/[slug].vue +++ b/nuxt-frontend/pages/[slug].vue @@ -56,12 +56,12 @@ if (status.value !== config.SUCCESS) { published_time = new Date(post?.value?.published_on).toLocaleTimeString(); await useAsyncData("recommandedBlog", () => - recStore.loadRecommandedBlog(slug.value, config.SHOW_DRAFT_POSTS) + recStore.loadRecommandedBlog(slug.value, config.SHOW_DRAFT_POSTS), ); recommandedPosts = filterPostsByCategoryAndTag( post.value, - recommandedBlog.value + recommandedBlog.value, ); useHead({ diff --git a/nuxt-frontend/tailwind.config.js b/nuxt-frontend/tailwind.config.js index 74fe97271..94704f793 100644 --- a/nuxt-frontend/tailwind.config.js +++ b/nuxt-frontend/tailwind.config.js @@ -329,7 +329,7 @@ module.exports = { 120: "120deg", 135: "135deg", }), - } + }, ); }), function ({ addComponents }) {