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