[{"data":1,"prerenderedAt":843},["ShallowReactive",2],{"navigation":3,"-deploy-providers-deno-deploy":389,"-deploy-providers-deno-deploy-surround":838},[4,83,212,218,374,386],{"title":5,"path":6,"stem":7,"children":8,"icon":82},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":53,"path":54,"stem":55,"icon":56},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":58,"path":59,"stem":60,"icon":61},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":63,"path":64,"stem":65,"icon":66},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":68,"path":69,"stem":70,"icon":71},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":73,"path":74,"stem":75,"icon":76},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":78,"path":79,"stem":80,"icon":81},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":84,"path":85,"stem":86,"children":87,"icon":89},"Deploy","/deploy","2.deploy/0.index",[88,90,111],{"title":84,"path":85,"stem":86,"icon":89},"ri:upload-cloud-2-line",{"title":91,"path":92,"stem":93,"children":94,"page":110},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[95,100,105],{"title":96,"path":97,"stem":98,"icon":99},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":101,"path":102,"stem":103,"icon":104},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":106,"path":107,"stem":108,"icon":109},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":112,"path":113,"stem":114,"children":115,"page":110},"Providers","/deploy/providers","2.deploy/20.providers",[116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208],{"title":117,"path":118,"stem":119},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":121,"path":122,"stem":123},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":125,"path":126,"stem":127},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":129,"path":130,"stem":131},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":133,"path":134,"stem":135},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":137,"path":138,"stem":139},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":141,"path":142,"stem":143},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":145,"path":146,"stem":147},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":149,"path":150,"stem":151},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":153,"path":154,"stem":155},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":157,"path":158,"stem":159},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":161,"path":162,"stem":163},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":165,"path":166,"stem":167},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":169,"path":170,"stem":171},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":173,"path":174,"stem":175},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":177,"path":178,"stem":179},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":181,"path":182,"stem":183},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":185,"path":186,"stem":187},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":189,"path":190,"stem":191},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":193,"path":194,"stem":195},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":197,"path":198,"stem":199},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":201,"path":202,"stem":203},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":205,"path":206,"stem":207},"Zephyr Cloud","/deploy/providers/zephyr","2.deploy/20.providers/zephyr",{"title":209,"path":210,"stem":211},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":213,"path":214,"stem":215,"children":216,"icon":36},"Config","/config","3.config/0.index",[217],{"title":213,"path":214,"stem":215,"icon":36},{"title":219,"path":220,"stem":221,"children":222,"icon":224},"Examples","/examples","4.examples/0.index",[223,225,230,235,240,245,249,254,259,264,269,274,279,283,288,292,296,301,306,311,316,321,326,331,336,341,345,350,355,359,364,369],{"title":219,"path":220,"stem":221,"icon":224},"i-lucide-folder-code",{"title":226,"path":227,"stem":228,"icon":229},"API Routes","/examples/api-routes","4.examples/api-routes","i-lucide-route",{"title":231,"path":232,"stem":233,"icon":234},"Auto Imports","/examples/auto-imports","4.examples/auto-imports","i-lucide-import",{"title":236,"path":237,"stem":238,"icon":239},"Cached Handler","/examples/cached-handler","4.examples/cached-handler","i-lucide-clock",{"title":241,"path":242,"stem":243,"icon":244},"Custom Error Handler","/examples/custom-error-handler","4.examples/custom-error-handler","i-lucide-alert-circle",{"title":38,"path":246,"stem":247,"icon":248},"/examples/database","4.examples/database","i-lucide-database",{"title":250,"path":251,"stem":252,"icon":253},"Elysia","/examples/elysia","4.examples/elysia","i-skill-icons-elysia-dark",{"title":255,"path":256,"stem":257,"icon":258},"Express","/examples/express","4.examples/express","i-simple-icons-express",{"title":260,"path":261,"stem":262,"icon":263},"Fastify","/examples/fastify","4.examples/fastify","i-simple-icons-fastify",{"title":265,"path":266,"stem":267,"icon":268},"Hello World","/examples/hello-world","4.examples/hello-world","i-lucide-sparkles",{"title":270,"path":271,"stem":272,"icon":273},"Hono","/examples/hono","4.examples/hono","i-logos-hono",{"title":275,"path":276,"stem":277,"icon":278},"Import Alias","/examples/import-alias","4.examples/import-alias","i-lucide-at-sign",{"title":280,"path":281,"stem":282,"icon":46},"Middleware","/examples/middleware","4.examples/middleware",{"title":284,"path":285,"stem":286,"icon":287},"Mono JSX","/examples/mono-jsx","4.examples/mono-jsx","i-lucide-brackets",{"title":289,"path":290,"stem":291,"icon":287},"Nano JSX","/examples/nano-jsx","4.examples/nano-jsx",{"title":48,"path":293,"stem":294,"icon":295},"/examples/plugins","4.examples/plugins","i-lucide-plug",{"title":297,"path":298,"stem":299,"icon":300},"Custom Renderer","/examples/renderer","4.examples/renderer","i-lucide-code",{"title":302,"path":303,"stem":304,"icon":305},"Runtime Config","/examples/runtime-config","4.examples/runtime-config","i-lucide-settings",{"title":307,"path":308,"stem":309,"icon":310},"Server Fetch","/examples/server-fetch","4.examples/server-fetch","i-lucide-arrow-right-left",{"title":312,"path":313,"stem":314,"icon":315},"Shiki","/examples/shiki","4.examples/shiki","i-lucide-highlighter",{"title":317,"path":318,"stem":319,"icon":320},"Virtual Routes","/examples/virtual-routes","4.examples/virtual-routes","i-lucide-box",{"title":322,"path":323,"stem":324,"icon":325},"Vite Nitro Plugin","/examples/vite-nitro-plugin","4.examples/vite-nitro-plugin","i-logos-vitejs",{"title":327,"path":328,"stem":329,"icon":330},"Vite RSC","/examples/vite-rsc","4.examples/vite-rsc","i-logos-react",{"title":332,"path":333,"stem":334,"icon":335},"Vite SSR HTML","/examples/vite-ssr-html","4.examples/vite-ssr-html","i-logos-html-5",{"title":337,"path":338,"stem":339,"icon":340},"SSR with Preact","/examples/vite-ssr-preact","4.examples/vite-ssr-preact","i-logos-preact",{"title":342,"path":343,"stem":344,"icon":330},"SSR with React","/examples/vite-ssr-react","4.examples/vite-ssr-react",{"title":346,"path":347,"stem":348,"icon":349},"SSR with SolidJS","/examples/vite-ssr-solid","4.examples/vite-ssr-solid","i-logos-solidjs-icon",{"title":351,"path":352,"stem":353,"icon":354},"SSR with TanStack Router","/examples/vite-ssr-tsr-react","4.examples/vite-ssr-tsr-react","i-simple-icons-tanstack",{"title":356,"path":357,"stem":358,"icon":354},"SSR with TanStack Start","/examples/vite-ssr-tss-react","4.examples/vite-ssr-tss-react",{"title":360,"path":361,"stem":362,"icon":363},"SSR with Vue Router","/examples/vite-ssr-vue-router","4.examples/vite-ssr-vue-router","i-logos-vue",{"title":365,"path":366,"stem":367,"icon":368},"Vite + tRPC","/examples/vite-trpc","4.examples/vite-trpc","i-simple-icons-trpc",{"title":370,"path":371,"stem":372,"icon":373},"WebSocket","/examples/websocket","4.examples/websocket","i-lucide-radio",{"title":375,"path":376,"stem":377,"children":378},"Blog","/blog","9.blog",[379,382],{"title":375,"path":376,"stem":380,"icon":381},"9.blog/index","i-lucide-file-text",{"title":383,"path":384,"stem":385,"icon":381},"Nitro v3 Beta is here!","/blog/v3-beta","9.blog/1.v3-beta",{"title":5,"path":387,"stem":388},"/","index",{"id":390,"title":141,"body":391,"description":832,"extension":833,"meta":834,"navigation":835,"path":142,"seo":836,"stem":143,"__hash__":837},"content/2.deploy/20.providers/deno-deploy.md",{"type":392,"value":393,"toc":827},"minimark",[394,406,410,415,426,438,516,520,523,531,538,817,821,823],[395,396,397,401,402],"p",{},[398,399,400],"strong",{},"Preset:"," ",[403,404,405],"code",{},"deno_deploy",[407,408],"read-more",{"to":409,"title":141},"https://deno.com/deploy",[411,412,414],"h2",{"id":413},"deploy-with-the-cli","Deploy with the CLI",[395,416,417,418,425],{},"You can use ",[419,420,424],"a",{"href":421,"rel":422},"https://deno.com/deploy/docs/deployctl",[423],"nofollow","deployctl"," to deploy your app.",[395,427,428,429,433,434,437],{},"Login to ",[419,430,141],{"href":431,"rel":432},"https://dash.deno.com/account#access-tokens",[423]," to obtain a ",[403,435,436],{},"DENO_DEPLOY_TOKEN"," access token, and set it as an environment variable.",[439,440,444],"pre",{"className":441,"code":442,"language":443,"meta":5,"style":5},"language-bash shiki shiki-themes github-light github-dark github-dark","# Build with the deno_deploy NITRO preset\nNITRO_PRESET=deno_deploy npm run build\n\n# Make sure to run the deployctl command from the output directory\ncd .output\ndeployctl deploy --project=my-project server/index.ts\n","bash",[403,445,446,455,479,486,492,502],{"__ignoreMap":5},[447,448,451],"span",{"class":449,"line":450},"line",1,[447,452,454],{"class":453},"sCsY4","# Build with the deno_deploy NITRO preset\n",[447,456,458,462,466,469,473,476],{"class":449,"line":457},2,[447,459,461],{"class":460},"slsVL","NITRO_PRESET",[447,463,465],{"class":464},"so5gQ","=",[447,467,405],{"class":468},"sfrk1",[447,470,472],{"class":471},"shcOC"," npm",[447,474,475],{"class":468}," run",[447,477,478],{"class":468}," build\n",[447,480,482],{"class":449,"line":481},3,[447,483,485],{"emptyLinePlaceholder":484},true,"\n",[447,487,489],{"class":449,"line":488},4,[447,490,491],{"class":453},"# Make sure to run the deployctl command from the output directory\n",[447,493,495,499],{"class":449,"line":494},5,[447,496,498],{"class":497},"suiK_","cd",[447,500,501],{"class":468}," .output\n",[447,503,505,507,510,513],{"class":449,"line":504},6,[447,506,424],{"class":471},[447,508,509],{"class":468}," deploy",[447,511,512],{"class":497}," --project=my-project",[447,514,515],{"class":468}," server/index.ts\n",[411,517,519],{"id":518},"deploy-within-cicd-using-github-actions","Deploy within CI/CD using GitHub actions",[395,521,522],{},"You just need to include the deployctl GitHub Action as a step in your workflow.",[395,524,525,526,530],{},"You do not need to set up any secrets for this to work. You do need to link your GitHub repository to your Deno Deploy project and choose the \"GitHub Actions\" deployment mode. You can do this in your project settings on ",[419,527,141],{"href":528,"rel":529},"https://dash.deno.com",[423],".",[395,532,533,534,537],{},"Create the following workflow file in your ",[403,535,536],{},".github/workflows"," directory:",[439,539,544],{"className":540,"code":541,"filename":542,"language":543,"meta":5,"style":5},"language-yaml shiki shiki-themes github-light github-dark github-dark","name: deno-deploy\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  deploy:\n    steps:\n      - uses: actions/checkout@v5\n      - run: corepack enable\n      - uses: actions/setup-node@v6\n        with:\n          node-version: 18\n          cache: pnpm\n      - run: pnpm install\n      - run: pnpm build\n        env:\n          NITRO_PRESET: deno_deploy\n      - name: Deploy to Deno Deploy\n        uses: denoland/deployctl@v1\n        with:\n          project: my-project\n          entrypoint: server/index.ts\n          root: .output\n",".github/workflows/deno_deploy.yml","yaml",[403,545,546,558,562,570,577,584,592,600,607,614,619,627,635,643,656,669,681,689,700,711,723,735,743,754,766,777,784,795,806],{"__ignoreMap":5},[447,547,548,552,555],{"class":449,"line":450},[447,549,551],{"class":550},"sByVh","name",[447,553,554],{"class":460},": ",[447,556,557],{"class":468},"deno-deploy\n",[447,559,560],{"class":449,"line":457},[447,561,485],{"emptyLinePlaceholder":484},[447,563,564,567],{"class":449,"line":481},[447,565,566],{"class":497},"on",[447,568,569],{"class":460},":\n",[447,571,572,575],{"class":449,"line":488},[447,573,574],{"class":550},"  push",[447,576,569],{"class":460},[447,578,579,582],{"class":449,"line":494},[447,580,581],{"class":550},"    branches",[447,583,569],{"class":460},[447,585,586,589],{"class":449,"line":504},[447,587,588],{"class":460},"      - ",[447,590,591],{"class":468},"main\n",[447,593,595,598],{"class":449,"line":594},7,[447,596,597],{"class":550},"  pull_request",[447,599,569],{"class":460},[447,601,603,605],{"class":449,"line":602},8,[447,604,581],{"class":550},[447,606,569],{"class":460},[447,608,610,612],{"class":449,"line":609},9,[447,611,588],{"class":460},[447,613,591],{"class":468},[447,615,617],{"class":449,"line":616},10,[447,618,485],{"emptyLinePlaceholder":484},[447,620,622,625],{"class":449,"line":621},11,[447,623,624],{"class":550},"jobs",[447,626,569],{"class":460},[447,628,630,633],{"class":449,"line":629},12,[447,631,632],{"class":550},"  deploy",[447,634,569],{"class":460},[447,636,638,641],{"class":449,"line":637},13,[447,639,640],{"class":550},"    steps",[447,642,569],{"class":460},[447,644,646,648,651,653],{"class":449,"line":645},14,[447,647,588],{"class":460},[447,649,650],{"class":550},"uses",[447,652,554],{"class":460},[447,654,655],{"class":468},"actions/checkout@v5\n",[447,657,659,661,664,666],{"class":449,"line":658},15,[447,660,588],{"class":460},[447,662,663],{"class":550},"run",[447,665,554],{"class":460},[447,667,668],{"class":468},"corepack enable\n",[447,670,672,674,676,678],{"class":449,"line":671},16,[447,673,588],{"class":460},[447,675,650],{"class":550},[447,677,554],{"class":460},[447,679,680],{"class":468},"actions/setup-node@v6\n",[447,682,684,687],{"class":449,"line":683},17,[447,685,686],{"class":550},"        with",[447,688,569],{"class":460},[447,690,692,695,697],{"class":449,"line":691},18,[447,693,694],{"class":550},"          node-version",[447,696,554],{"class":460},[447,698,699],{"class":497},"18\n",[447,701,703,706,708],{"class":449,"line":702},19,[447,704,705],{"class":550},"          cache",[447,707,554],{"class":460},[447,709,710],{"class":468},"pnpm\n",[447,712,714,716,718,720],{"class":449,"line":713},20,[447,715,588],{"class":460},[447,717,663],{"class":550},[447,719,554],{"class":460},[447,721,722],{"class":468},"pnpm install\n",[447,724,726,728,730,732],{"class":449,"line":725},21,[447,727,588],{"class":460},[447,729,663],{"class":550},[447,731,554],{"class":460},[447,733,734],{"class":468},"pnpm build\n",[447,736,738,741],{"class":449,"line":737},22,[447,739,740],{"class":550},"        env",[447,742,569],{"class":460},[447,744,746,749,751],{"class":449,"line":745},23,[447,747,748],{"class":550},"          NITRO_PRESET",[447,750,554],{"class":460},[447,752,753],{"class":468},"deno_deploy\n",[447,755,757,759,761,763],{"class":449,"line":756},24,[447,758,588],{"class":460},[447,760,551],{"class":550},[447,762,554],{"class":460},[447,764,765],{"class":468},"Deploy to Deno Deploy\n",[447,767,769,772,774],{"class":449,"line":768},25,[447,770,771],{"class":550},"        uses",[447,773,554],{"class":460},[447,775,776],{"class":468},"denoland/deployctl@v1\n",[447,778,780,782],{"class":449,"line":779},26,[447,781,686],{"class":550},[447,783,569],{"class":460},[447,785,787,790,792],{"class":449,"line":786},27,[447,788,789],{"class":550},"          project",[447,791,554],{"class":460},[447,793,794],{"class":468},"my-project\n",[447,796,798,801,803],{"class":449,"line":797},28,[447,799,800],{"class":550},"          entrypoint",[447,802,554],{"class":460},[447,804,805],{"class":468},"server/index.ts\n",[447,807,809,812,814],{"class":449,"line":808},29,[447,810,811],{"class":550},"          root",[447,813,554],{"class":460},[447,815,816],{"class":468},".output\n",[411,818,820],{"id":819},"deno-runtime","Deno runtime",[407,822],{"to":107},[824,825,826],"style",{},"html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sByVh, html code.shiki .sByVh{--shiki-light:#22863A;--shiki-default:#85E89D;--shiki-dark:#85E89D}",{"title":5,"searchDepth":457,"depth":457,"links":828},[829,830,831],{"id":413,"depth":457,"text":414},{"id":518,"depth":457,"text":519},{"id":819,"depth":457,"text":820},"Deploy Nitro apps to Deno Deploy.","md",{},{},{"title":141,"description":832},"8RxCYxiJOFJP200YRoPC3eFMT1wH9twjykdCDgMMl0A",[839,841],{"title":137,"path":138,"stem":139,"description":840,"children":-1},"Deploy Nitro apps to Cloudflare.",{"title":145,"path":146,"stem":147,"description":842,"children":-1},"Deploy Nitro apps to DigitalOcean.",1775151961976]