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 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 +}