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