Skip to content

Commit f9006e4

Browse files
committed
Try cloudflare module again
1 parent 1c6a82e commit f9006e4

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/deploy-web.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Build
3434
env:
35-
NITRO_PRESET: cloudflare_pages
35+
NITRO_PRESET: cloudflare_module
3636
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
3737
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
3838
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4545
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
46-
command: pages deploy dist --project-name=blakesmods
46+
command: deploy .output/server/index.mjs --name=blakesmods
4747
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
4848
workingDirectory: apps/web
4949
packageManager: pnpm

apps/web/nuxt.config.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,8 @@ export default defineNuxtConfig({
7777
compatibilityDate: "2026-04-19",
7878
nitro: {
7979
cloudflare: {
80-
pages: {
81-
routes: {
82-
exclude: ["/docs/*", "/wiki/*"]
83-
}
84-
}
80+
deployConfig: true,
81+
nodeCompat: true
8582
},
8683
prerender: {
8784
autoSubfolderIndex: false,

0 commit comments

Comments
 (0)