From ba86ccab6918412d7af13e9122fb023e8a01811d Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Thu, 25 Jul 2024 16:41:49 +0800 Subject: [PATCH 1/2] build: update the output dir --- vercel.dr.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.dr.json b/vercel.dr.json index eb8dd160..ca9b4b26 100644 --- a/vercel.dr.json +++ b/vercel.dr.json @@ -1,5 +1,5 @@ { "cleanUrls": true, - "outputDirectory": "dist", + "outputDirectory": "public", "buildCommand": "echo ✅ Skipping build to use existing built files" -} \ No newline at end of file +} From a91387004d677dc32ec60251a040a4d4d19d5fe6 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Thu, 25 Jul 2024 16:43:15 +0800 Subject: [PATCH 2/2] ci: update dist path --- .github/actions/publish_to_pages_production/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/publish_to_pages_production/action.yml b/.github/actions/publish_to_pages_production/action.yml index 0c8dc18c..4aab8fc7 100644 --- a/.github/actions/publish_to_pages_production/action.yml +++ b/.github/actions/publish_to_pages_production/action.yml @@ -16,7 +16,7 @@ runs: CLOUDFLARE_API_TOKEN: ${{ inputs.CLOUDFLARE_API_TOKEN }} run: | npm i wrangler@3.1.0 - cd packages/core + cd public npx wrangler pages publish . --project-name=sinbad-pages --branch=main echo "New website - http://cf-pages-sinbad.deriv.com" shell: bash