[{"data":1,"prerenderedAt":689},["ShallowReactive",2],{"navigation":3,"-deploy-providers-deno-deploy":234,"-deploy-providers-deno-deploy-surround":684},[4,81,228],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Getting Started","/guide","1.guide/0.index",[9,11,16,21,26,31,36,41,46,51,56,61,66,71,76],{"title":5,"path":6,"stem":7,"icon":10},"ph:book-open-duotone",{"title":12,"path":13,"stem":14,"icon":15},"Migration Guide","/guide/migration","1.guide/00.migration","ri:arrow-right-up-line",{"title":17,"path":18,"stem":19,"icon":20},"Server Utils","/guide/utils","1.guide/1.utils","ri:tools-line",{"title":22,"path":23,"stem":24,"icon":25},"Tasks","/guide/tasks","1.guide/10.tasks","codicon:run-all",{"title":27,"path":28,"stem":29,"icon":30},"Server Routes","/guide/routing","1.guide/2.routing","ri:direction-line",{"title":32,"path":33,"stem":34,"icon":35},"WebSocket","/guide/websocket","1.guide/3.websocket","cib:socket-io",{"title":37,"path":38,"stem":39,"icon":40},"KV Storage","/guide/storage","1.guide/4.storage","carbon:datastore",{"title":42,"path":43,"stem":44,"icon":45},"SQL Database","/guide/database","1.guide/5.database","ri:database-2-line",{"title":47,"path":48,"stem":49,"icon":50},"Cache","/guide/cache","1.guide/6.cache","ri:speed-line",{"title":52,"path":53,"stem":54,"icon":55},"Fetch","/guide/fetch","1.guide/7.fetch","ri:global-line",{"title":57,"path":58,"stem":59,"icon":60},"Assets","/guide/assets","1.guide/8.assets","ri:image-2-line",{"title":62,"path":63,"stem":64,"icon":65},"Plugins","/guide/plugins","1.guide/9.plugins","ri:plug-line",{"title":67,"path":68,"stem":69,"icon":70},"Configuration","/guide/configuration","1.guide/97.configuration","ri:settings-3-line",{"title":72,"path":73,"stem":74,"icon":75},"TypeScript","/guide/typescript","1.guide/98.typescript","tabler:brand-typescript",{"title":77,"path":78,"stem":79,"icon":80},"Nightly Channel","/guide/nightly","1.guide/99.nightly","ri:moon-fill",{"title":82,"path":83,"stem":84,"children":85,"icon":87},"Overview","/deploy","2.deploy/0.index",[86,88,92,122,127],{"title":82,"path":83,"stem":84,"icon":87},"ri:upload-cloud-2-line",{"title":89,"path":90,"stem":91,"icon":55},"Edge Workers","/deploy/workers","2.deploy/1.workers",{"title":93,"path":94,"stem":95,"children":96,"page":121},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[97,102,106,111,116],{"title":98,"path":99,"stem":100,"icon":101},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":103,"path":104,"stem":105,"icon":25},"Dir","/deploy/runtimes/_dir","2.deploy/10.runtimes/_dir",{"title":107,"path":108,"stem":109,"icon":110},"WinterJS","/deploy/runtimes/_winterjs","2.deploy/10.runtimes/_winterjs","game-icons:cold-heart",{"title":112,"path":113,"stem":114,"icon":115},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":117,"path":118,"stem":119,"icon":120},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":123,"path":124,"stem":125,"icon":126},"Custom Preset","/deploy/custom-presets","2.deploy/2.custom-presets","ri:file-code-line",{"title":128,"path":129,"stem":130,"children":131,"page":121},"Providers","/deploy/providers","2.deploy/20.providers",[132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224],{"title":103,"path":133,"stem":134,"icon":135},"/deploy/providers/_dir","2.deploy/20.providers/_dir","tdesign:cloud",{"title":137,"path":138,"stem":139},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":141,"path":142,"stem":143},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":145,"path":146,"stem":147},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":149,"path":150,"stem":151},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":153,"path":154,"stem":155},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":157,"path":158,"stem":159},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":161,"path":162,"stem":163},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":165,"path":166,"stem":167},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":169,"path":170,"stem":171},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":173,"path":174,"stem":175},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":177,"path":178,"stem":179},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":181,"path":182,"stem":183},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":185,"path":186,"stem":187},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":189,"path":190,"stem":191},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":193,"path":194,"stem":195},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":197,"path":198,"stem":199},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":201,"path":202,"stem":203},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":205,"path":206,"stem":207},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":209,"path":210,"stem":211},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":213,"path":214,"stem":215},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":217,"path":218,"stem":219},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":221,"path":222,"stem":223},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":225,"path":226,"stem":227},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":229,"path":230,"stem":231,"children":232,"icon":70},"Config","/config","3.config/0.index",[233],{"title":229,"path":230,"stem":231,"icon":70},{"id":235,"title":161,"body":236,"description":678,"extension":679,"meta":680,"navigation":681,"path":162,"seo":682,"stem":163,"__hash__":683},"content/2.deploy/20.providers/deno-deploy.md",{"type":237,"value":238,"toc":673},"minimark",[239,251,255,260,271,283,362,366,369,377,384,663,667,669],[240,241,242,246,247],"p",{},[243,244,245],"strong",{},"Preset:"," ",[248,249,250],"code",{},"deno_deploy",[252,253],"read-more",{"to":254,"title":161},"https://deno.com/deploy",[256,257,259],"h2",{"id":258},"deploy-with-the-cli","Deploy with the CLI",[240,261,262,263,270],{},"You can use ",[264,265,269],"a",{"href":266,"rel":267},"https://deno.com/deploy/docs/deployctl",[268],"nofollow","deployctl"," to deploy your app.",[240,272,273,274,278,279,282],{},"Login to ",[264,275,161],{"href":276,"rel":277},"https://dash.deno.com/account#access-tokens",[268]," to obtain a ",[248,280,281],{},"DENO_DEPLOY_TOKEN"," access token, and set it as an environment variable.",[284,285,290],"pre",{"className":286,"code":287,"language":288,"meta":289,"style":289},"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","",[248,291,292,301,325,332,338,348],{"__ignoreMap":289},[293,294,297],"span",{"class":295,"line":296},"line",1,[293,298,300],{"class":299},"sCsY4","# Build with the deno_deploy NITRO preset\n",[293,302,304,308,312,315,319,322],{"class":295,"line":303},2,[293,305,307],{"class":306},"slsVL","NITRO_PRESET",[293,309,311],{"class":310},"so5gQ","=",[293,313,250],{"class":314},"sfrk1",[293,316,318],{"class":317},"shcOC"," npm",[293,320,321],{"class":314}," run",[293,323,324],{"class":314}," build\n",[293,326,328],{"class":295,"line":327},3,[293,329,331],{"emptyLinePlaceholder":330},true,"\n",[293,333,335],{"class":295,"line":334},4,[293,336,337],{"class":299},"# Make sure to run the deployctl command from the output directory\n",[293,339,341,345],{"class":295,"line":340},5,[293,342,344],{"class":343},"suiK_","cd",[293,346,347],{"class":314}," .output\n",[293,349,351,353,356,359],{"class":295,"line":350},6,[293,352,269],{"class":317},[293,354,355],{"class":314}," deploy",[293,357,358],{"class":343}," --project=my-project",[293,360,361],{"class":314}," server/index.ts\n",[256,363,365],{"id":364},"deploy-within-cicd-using-github-actions","Deploy within CI/CD using GitHub actions",[240,367,368],{},"You just need to include the deployctl GitHub Action as a step in your workflow.",[240,370,371,372,376],{},"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 ",[264,373,161],{"href":374,"rel":375},"https://dash.deno.com",[268],".",[240,378,379,380,383],{},"Create the following workflow file in your ",[248,381,382],{},".github/workflows"," directory:",[284,385,390],{"className":386,"code":387,"filename":388,"language":389,"meta":289,"style":289},"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@v3\n      - run: corepack enable\n      - uses: actions/setup-node@v3\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",[248,391,392,404,408,416,423,430,438,446,453,460,465,473,481,489,502,515,527,535,546,557,569,581,589,600,612,623,630,641,652],{"__ignoreMap":289},[293,393,394,398,401],{"class":295,"line":296},[293,395,397],{"class":396},"sByVh","name",[293,399,400],{"class":306},": ",[293,402,403],{"class":314},"deno-deploy\n",[293,405,406],{"class":295,"line":303},[293,407,331],{"emptyLinePlaceholder":330},[293,409,410,413],{"class":295,"line":327},[293,411,412],{"class":343},"on",[293,414,415],{"class":306},":\n",[293,417,418,421],{"class":295,"line":334},[293,419,420],{"class":396},"  push",[293,422,415],{"class":306},[293,424,425,428],{"class":295,"line":340},[293,426,427],{"class":396},"    branches",[293,429,415],{"class":306},[293,431,432,435],{"class":295,"line":350},[293,433,434],{"class":306},"      - ",[293,436,437],{"class":314},"main\n",[293,439,441,444],{"class":295,"line":440},7,[293,442,443],{"class":396},"  pull_request",[293,445,415],{"class":306},[293,447,449,451],{"class":295,"line":448},8,[293,450,427],{"class":396},[293,452,415],{"class":306},[293,454,456,458],{"class":295,"line":455},9,[293,457,434],{"class":306},[293,459,437],{"class":314},[293,461,463],{"class":295,"line":462},10,[293,464,331],{"emptyLinePlaceholder":330},[293,466,468,471],{"class":295,"line":467},11,[293,469,470],{"class":396},"jobs",[293,472,415],{"class":306},[293,474,476,479],{"class":295,"line":475},12,[293,477,478],{"class":396},"  deploy",[293,480,415],{"class":306},[293,482,484,487],{"class":295,"line":483},13,[293,485,486],{"class":396},"    steps",[293,488,415],{"class":306},[293,490,492,494,497,499],{"class":295,"line":491},14,[293,493,434],{"class":306},[293,495,496],{"class":396},"uses",[293,498,400],{"class":306},[293,500,501],{"class":314},"actions/checkout@v3\n",[293,503,505,507,510,512],{"class":295,"line":504},15,[293,506,434],{"class":306},[293,508,509],{"class":396},"run",[293,511,400],{"class":306},[293,513,514],{"class":314},"corepack enable\n",[293,516,518,520,522,524],{"class":295,"line":517},16,[293,519,434],{"class":306},[293,521,496],{"class":396},[293,523,400],{"class":306},[293,525,526],{"class":314},"actions/setup-node@v3\n",[293,528,530,533],{"class":295,"line":529},17,[293,531,532],{"class":396},"        with",[293,534,415],{"class":306},[293,536,538,541,543],{"class":295,"line":537},18,[293,539,540],{"class":396},"          node-version",[293,542,400],{"class":306},[293,544,545],{"class":343},"18\n",[293,547,549,552,554],{"class":295,"line":548},19,[293,550,551],{"class":396},"          cache",[293,553,400],{"class":306},[293,555,556],{"class":314},"pnpm\n",[293,558,560,562,564,566],{"class":295,"line":559},20,[293,561,434],{"class":306},[293,563,509],{"class":396},[293,565,400],{"class":306},[293,567,568],{"class":314},"pnpm install\n",[293,570,572,574,576,578],{"class":295,"line":571},21,[293,573,434],{"class":306},[293,575,509],{"class":396},[293,577,400],{"class":306},[293,579,580],{"class":314},"pnpm build\n",[293,582,584,587],{"class":295,"line":583},22,[293,585,586],{"class":396},"        env",[293,588,415],{"class":306},[293,590,592,595,597],{"class":295,"line":591},23,[293,593,594],{"class":396},"          NITRO_PRESET",[293,596,400],{"class":306},[293,598,599],{"class":314},"deno_deploy\n",[293,601,603,605,607,609],{"class":295,"line":602},24,[293,604,434],{"class":306},[293,606,397],{"class":396},[293,608,400],{"class":306},[293,610,611],{"class":314},"Deploy to Deno Deploy\n",[293,613,615,618,620],{"class":295,"line":614},25,[293,616,617],{"class":396},"        uses",[293,619,400],{"class":306},[293,621,622],{"class":314},"denoland/deployctl@v1\n",[293,624,626,628],{"class":295,"line":625},26,[293,627,532],{"class":396},[293,629,415],{"class":306},[293,631,633,636,638],{"class":295,"line":632},27,[293,634,635],{"class":396},"          project",[293,637,400],{"class":306},[293,639,640],{"class":314},"my-project\n",[293,642,644,647,649],{"class":295,"line":643},28,[293,645,646],{"class":396},"          entrypoint",[293,648,400],{"class":306},[293,650,651],{"class":314},"server/index.ts\n",[293,653,655,658,660],{"class":295,"line":654},29,[293,656,657],{"class":396},"          root",[293,659,400],{"class":306},[293,661,662],{"class":314},".output\n",[256,664,666],{"id":665},"deno-runtime","Deno runtime",[252,668],{"to":118},[670,671,672],"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":289,"searchDepth":303,"depth":303,"links":674},[675,676,677],{"id":258,"depth":303,"text":259},{"id":364,"depth":303,"text":365},{"id":665,"depth":303,"text":666},"Deploy Nitro apps to Deno Deploy.","md",{},{},{"title":161,"description":678},"VgN3ZNwSG8_0kG68zbRt7MaPHgiPrOJvjUlCI3oFa74",[685,687],{"title":157,"path":158,"stem":159,"description":686,"children":-1},"Deploy Nitro apps to Cloudflare.",{"title":165,"path":166,"stem":167,"description":688,"children":-1},"Deploy Nitro apps to DigitalOcean.",1778145700767]