diff --git a/.github/workflows/deploy-1000h-portal.yml b/.github/workflows/deploy-1000h-portal.yml index 0384ac81..5c726b2a 100644 --- a/.github/workflows/deploy-1000h-portal.yml +++ b/.github/workflows/deploy-1000h-portal.yml @@ -43,13 +43,11 @@ jobs: - name: Build run: yarn portal:generate - - name: Install Wrangler manually (workaround) - run: npm install -g wrangler@3.81.0 - - name: Deploy uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CF_BASEONE_API_TOKEN }} + preCommands: npm install @cloudflare/kv-asset-handler accountId: ${{ secrets.CF_BASEONE_ACCOUNT_ID }} command: deploy workingDirectory: "1000h-portal" diff --git a/1000h-portal/wrangler.toml b/1000h-portal/wrangler.toml index 4bbe2133..20c8b1d0 100644 --- a/1000h-portal/wrangler.toml +++ b/1000h-portal/wrangler.toml @@ -4,5 +4,9 @@ type = "webpack" workers_dev = false compatibility_date = "2023-03-23" +routes = [ + "1000h.org/*", +] + [site] -bucket = "./.output/public" \ No newline at end of file +bucket = "./.output/public"