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