[{"data":1,"prerenderedAt":678},["ShallowReactive",2],{"navigation":3,"-deploy-providers-deno-deploy":224,"-deploy-providers-deno-deploy-surround":673},[4,83,208,214,221],{"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],{"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},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":209,"path":210,"stem":211,"children":212,"icon":36},"Config","/config","3.config/0.index",[213],{"title":209,"path":210,"stem":211,"icon":36},{"title":215,"path":216,"stem":217,"children":218,"icon":220},"Examples","/examples","4.examples/0.index",[219],{"title":215,"path":216,"stem":217,"icon":220},"i-lucide-folder-code",{"title":5,"path":222,"stem":223},"/","index",{"id":225,"title":141,"body":226,"description":667,"extension":668,"meta":669,"navigation":670,"path":142,"seo":671,"stem":143,"__hash__":672},"content/2.deploy/20.providers/deno-deploy.md",{"type":227,"value":228,"toc":662},"minimark",[229,241,245,250,261,273,351,355,358,366,373,652,656,658],[230,231,232,236,237],"p",{},[233,234,235],"strong",{},"Preset:"," ",[238,239,240],"code",{},"deno_deploy",[242,243],"read-more",{"to":244,"title":141},"https://deno.com/deploy",[246,247,249],"h2",{"id":248},"deploy-with-the-cli","Deploy with the CLI",[230,251,252,253,260],{},"You can use ",[254,255,259],"a",{"href":256,"rel":257},"https://deno.com/deploy/docs/deployctl",[258],"nofollow","deployctl"," to deploy your app.",[230,262,263,264,268,269,272],{},"Login to ",[254,265,141],{"href":266,"rel":267},"https://dash.deno.com/account#access-tokens",[258]," to obtain a ",[238,270,271],{},"DENO_DEPLOY_TOKEN"," access token, and set it as an environment variable.",[274,275,279],"pre",{"className":276,"code":277,"language":278,"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",[238,280,281,290,314,321,327,337],{"__ignoreMap":5},[282,283,286],"span",{"class":284,"line":285},"line",1,[282,287,289],{"class":288},"sCsY4","# Build with the deno_deploy NITRO preset\n",[282,291,293,297,301,304,308,311],{"class":284,"line":292},2,[282,294,296],{"class":295},"slsVL","NITRO_PRESET",[282,298,300],{"class":299},"so5gQ","=",[282,302,240],{"class":303},"sfrk1",[282,305,307],{"class":306},"shcOC"," npm",[282,309,310],{"class":303}," run",[282,312,313],{"class":303}," build\n",[282,315,317],{"class":284,"line":316},3,[282,318,320],{"emptyLinePlaceholder":319},true,"\n",[282,322,324],{"class":284,"line":323},4,[282,325,326],{"class":288},"# Make sure to run the deployctl command from the output directory\n",[282,328,330,334],{"class":284,"line":329},5,[282,331,333],{"class":332},"suiK_","cd",[282,335,336],{"class":303}," .output\n",[282,338,340,342,345,348],{"class":284,"line":339},6,[282,341,259],{"class":306},[282,343,344],{"class":303}," deploy",[282,346,347],{"class":332}," --project=my-project",[282,349,350],{"class":303}," server/index.ts\n",[246,352,354],{"id":353},"deploy-within-cicd-using-github-actions","Deploy within CI/CD using GitHub actions",[230,356,357],{},"You just need to include the deployctl GitHub Action as a step in your workflow.",[230,359,360,361,365],{},"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 ",[254,362,141],{"href":363,"rel":364},"https://dash.deno.com",[258],".",[230,367,368,369,372],{},"Create the following workflow file in your ",[238,370,371],{},".github/workflows"," directory:",[274,374,379],{"className":375,"code":376,"filename":377,"language":378,"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",[238,380,381,393,397,405,412,419,427,435,442,449,454,462,470,478,491,504,516,524,535,546,558,570,578,589,601,612,619,630,641],{"__ignoreMap":5},[282,382,383,387,390],{"class":284,"line":285},[282,384,386],{"class":385},"sByVh","name",[282,388,389],{"class":295},": ",[282,391,392],{"class":303},"deno-deploy\n",[282,394,395],{"class":284,"line":292},[282,396,320],{"emptyLinePlaceholder":319},[282,398,399,402],{"class":284,"line":316},[282,400,401],{"class":332},"on",[282,403,404],{"class":295},":\n",[282,406,407,410],{"class":284,"line":323},[282,408,409],{"class":385},"  push",[282,411,404],{"class":295},[282,413,414,417],{"class":284,"line":329},[282,415,416],{"class":385},"    branches",[282,418,404],{"class":295},[282,420,421,424],{"class":284,"line":339},[282,422,423],{"class":295},"      - ",[282,425,426],{"class":303},"main\n",[282,428,430,433],{"class":284,"line":429},7,[282,431,432],{"class":385},"  pull_request",[282,434,404],{"class":295},[282,436,438,440],{"class":284,"line":437},8,[282,439,416],{"class":385},[282,441,404],{"class":295},[282,443,445,447],{"class":284,"line":444},9,[282,446,423],{"class":295},[282,448,426],{"class":303},[282,450,452],{"class":284,"line":451},10,[282,453,320],{"emptyLinePlaceholder":319},[282,455,457,460],{"class":284,"line":456},11,[282,458,459],{"class":385},"jobs",[282,461,404],{"class":295},[282,463,465,468],{"class":284,"line":464},12,[282,466,467],{"class":385},"  deploy",[282,469,404],{"class":295},[282,471,473,476],{"class":284,"line":472},13,[282,474,475],{"class":385},"    steps",[282,477,404],{"class":295},[282,479,481,483,486,488],{"class":284,"line":480},14,[282,482,423],{"class":295},[282,484,485],{"class":385},"uses",[282,487,389],{"class":295},[282,489,490],{"class":303},"actions/checkout@v5\n",[282,492,494,496,499,501],{"class":284,"line":493},15,[282,495,423],{"class":295},[282,497,498],{"class":385},"run",[282,500,389],{"class":295},[282,502,503],{"class":303},"corepack enable\n",[282,505,507,509,511,513],{"class":284,"line":506},16,[282,508,423],{"class":295},[282,510,485],{"class":385},[282,512,389],{"class":295},[282,514,515],{"class":303},"actions/setup-node@v6\n",[282,517,519,522],{"class":284,"line":518},17,[282,520,521],{"class":385},"        with",[282,523,404],{"class":295},[282,525,527,530,532],{"class":284,"line":526},18,[282,528,529],{"class":385},"          node-version",[282,531,389],{"class":295},[282,533,534],{"class":332},"18\n",[282,536,538,541,543],{"class":284,"line":537},19,[282,539,540],{"class":385},"          cache",[282,542,389],{"class":295},[282,544,545],{"class":303},"pnpm\n",[282,547,549,551,553,555],{"class":284,"line":548},20,[282,550,423],{"class":295},[282,552,498],{"class":385},[282,554,389],{"class":295},[282,556,557],{"class":303},"pnpm install\n",[282,559,561,563,565,567],{"class":284,"line":560},21,[282,562,423],{"class":295},[282,564,498],{"class":385},[282,566,389],{"class":295},[282,568,569],{"class":303},"pnpm build\n",[282,571,573,576],{"class":284,"line":572},22,[282,574,575],{"class":385},"        env",[282,577,404],{"class":295},[282,579,581,584,586],{"class":284,"line":580},23,[282,582,583],{"class":385},"          NITRO_PRESET",[282,585,389],{"class":295},[282,587,588],{"class":303},"deno_deploy\n",[282,590,592,594,596,598],{"class":284,"line":591},24,[282,593,423],{"class":295},[282,595,386],{"class":385},[282,597,389],{"class":295},[282,599,600],{"class":303},"Deploy to Deno Deploy\n",[282,602,604,607,609],{"class":284,"line":603},25,[282,605,606],{"class":385},"        uses",[282,608,389],{"class":295},[282,610,611],{"class":303},"denoland/deployctl@v1\n",[282,613,615,617],{"class":284,"line":614},26,[282,616,521],{"class":385},[282,618,404],{"class":295},[282,620,622,625,627],{"class":284,"line":621},27,[282,623,624],{"class":385},"          project",[282,626,389],{"class":295},[282,628,629],{"class":303},"my-project\n",[282,631,633,636,638],{"class":284,"line":632},28,[282,634,635],{"class":385},"          entrypoint",[282,637,389],{"class":295},[282,639,640],{"class":303},"server/index.ts\n",[282,642,644,647,649],{"class":284,"line":643},29,[282,645,646],{"class":385},"          root",[282,648,389],{"class":295},[282,650,651],{"class":303},".output\n",[246,653,655],{"id":654},"deno-runtime","Deno runtime",[242,657],{"to":107},[659,660,661],"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":292,"depth":292,"links":663},[664,665,666],{"id":248,"depth":292,"text":249},{"id":353,"depth":292,"text":354},{"id":654,"depth":292,"text":655},"Deploy Nitro apps to Deno Deploy.","md",{},{},{"title":141,"description":667},"8RxCYxiJOFJP200YRoPC3eFMT1wH9twjykdCDgMMl0A",[674,676],{"title":137,"path":138,"stem":139,"description":675,"children":-1},"Deploy Nitro apps to Cloudflare.",{"title":145,"path":146,"stem":147,"description":677,"children":-1},"Deploy Nitro apps to DigitalOcean.",1773050257160]