[{"data":1,"prerenderedAt":750},["ShallowReactive",2],{"navigation":3,"-deploy-providers-github-pages":228,"-deploy-providers-github-pages-surround":745},[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":161,"body":230,"description":739,"extension":740,"meta":741,"navigation":742,"path":162,"seo":743,"stem":163,"__hash__":744},"content/2.deploy/20.providers/github-pages.md",{"type":231,"value":232,"toc":735},"minimark",[233,245,249,254,265,269,275,731],[234,235,236,240,241],"p",{},[237,238,239],"strong",{},"Preset:"," ",[242,243,244],"code",{},"github_pages",[246,247],"read-more",{"title":161,"to":248},"https://pages.github.com/",[250,251,253],"h2",{"id":252},"setup","Setup",[234,255,256,257,264],{},"Follow the steps to ",[258,259,263],"a",{"href":260,"rel":261},"https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site",[262],"nofollow","create a GitHub Pages site",".",[250,266,268],{"id":267},"deployment","Deployment",[234,270,271,272,274],{},"Here is an example GitHub Actions workflow to deploy your site to GitHub Pages using the ",[242,273,244],{}," preset:",[276,277,282],"pre",{"className":278,"code":279,"filename":280,"language":281,"meta":5,"style":5},"language-yaml shiki shiki-themes github-light github-dark github-dark","# https://github.com/actions/deploy-pages#usage\nname: Deploy to GitHub Pages\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v5\n      - run: corepack enable\n      - uses: actions/setup-node@v6\n        with:\n          node-version: \"18\"\n\n      - run: npx nypm install\n      - run: npm run build\n        env:\n          NITRO_PRESET: github_pages\n\n      - name: Upload artifact\n        uses: actions/upload-pages-artifact@v1\n        with:\n          path: ./.output/public\n\n  # Deployment job\n  deploy:\n    # Add a dependency to the build job\n    needs: build\n\n    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n    permissions:\n      pages: write      # to deploy to Pages\n      id-token: write   # to verify the deployment originates from an appropriate source\n\n    # Deploy to the github_pages environment\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.page_url }}\n\n    # Specify runner + deployment step\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy to GitHub Pages\n        id: deployment\n        uses: actions/deploy-pages@v1\n",".github/workflows/deploy.yml","yaml",[242,283,284,293,308,315,325,333,341,349,358,363,371,379,390,398,411,424,436,444,455,460,472,484,492,503,508,520,531,538,549,554,560,568,574,585,590,596,604,618,631,636,642,650,661,672,677,683,692,699,710,721],{"__ignoreMap":5},[285,286,289],"span",{"class":287,"line":288},"line",1,[285,290,292],{"class":291},"sCsY4","# https://github.com/actions/deploy-pages#usage\n",[285,294,296,300,304],{"class":287,"line":295},2,[285,297,299],{"class":298},"sByVh","name",[285,301,303],{"class":302},"slsVL",": ",[285,305,307],{"class":306},"sfrk1","Deploy to GitHub Pages\n",[285,309,311],{"class":287,"line":310},3,[285,312,314],{"emptyLinePlaceholder":313},true,"\n",[285,316,318,322],{"class":287,"line":317},4,[285,319,321],{"class":320},"suiK_","on",[285,323,324],{"class":302},":\n",[285,326,328,331],{"class":287,"line":327},5,[285,329,330],{"class":298},"  workflow_dispatch",[285,332,324],{"class":302},[285,334,336,339],{"class":287,"line":335},6,[285,337,338],{"class":298},"  push",[285,340,324],{"class":302},[285,342,344,347],{"class":287,"line":343},7,[285,345,346],{"class":298},"    branches",[285,348,324],{"class":302},[285,350,352,355],{"class":287,"line":351},8,[285,353,354],{"class":302},"      - ",[285,356,357],{"class":306},"main\n",[285,359,361],{"class":287,"line":360},9,[285,362,314],{"emptyLinePlaceholder":313},[285,364,366,369],{"class":287,"line":365},10,[285,367,368],{"class":298},"jobs",[285,370,324],{"class":302},[285,372,374,377],{"class":287,"line":373},11,[285,375,376],{"class":298},"  build",[285,378,324],{"class":302},[285,380,382,385,387],{"class":287,"line":381},12,[285,383,384],{"class":298},"    runs-on",[285,386,303],{"class":302},[285,388,389],{"class":306},"ubuntu-latest\n",[285,391,393,396],{"class":287,"line":392},13,[285,394,395],{"class":298},"    steps",[285,397,324],{"class":302},[285,399,401,403,406,408],{"class":287,"line":400},14,[285,402,354],{"class":302},[285,404,405],{"class":298},"uses",[285,407,303],{"class":302},[285,409,410],{"class":306},"actions/checkout@v5\n",[285,412,414,416,419,421],{"class":287,"line":413},15,[285,415,354],{"class":302},[285,417,418],{"class":298},"run",[285,420,303],{"class":302},[285,422,423],{"class":306},"corepack enable\n",[285,425,427,429,431,433],{"class":287,"line":426},16,[285,428,354],{"class":302},[285,430,405],{"class":298},[285,432,303],{"class":302},[285,434,435],{"class":306},"actions/setup-node@v6\n",[285,437,439,442],{"class":287,"line":438},17,[285,440,441],{"class":298},"        with",[285,443,324],{"class":302},[285,445,447,450,452],{"class":287,"line":446},18,[285,448,449],{"class":298},"          node-version",[285,451,303],{"class":302},[285,453,454],{"class":306},"\"18\"\n",[285,456,458],{"class":287,"line":457},19,[285,459,314],{"emptyLinePlaceholder":313},[285,461,463,465,467,469],{"class":287,"line":462},20,[285,464,354],{"class":302},[285,466,418],{"class":298},[285,468,303],{"class":302},[285,470,471],{"class":306},"npx nypm install\n",[285,473,475,477,479,481],{"class":287,"line":474},21,[285,476,354],{"class":302},[285,478,418],{"class":298},[285,480,303],{"class":302},[285,482,483],{"class":306},"npm run build\n",[285,485,487,490],{"class":287,"line":486},22,[285,488,489],{"class":298},"        env",[285,491,324],{"class":302},[285,493,495,498,500],{"class":287,"line":494},23,[285,496,497],{"class":298},"          NITRO_PRESET",[285,499,303],{"class":302},[285,501,502],{"class":306},"github_pages\n",[285,504,506],{"class":287,"line":505},24,[285,507,314],{"emptyLinePlaceholder":313},[285,509,511,513,515,517],{"class":287,"line":510},25,[285,512,354],{"class":302},[285,514,299],{"class":298},[285,516,303],{"class":302},[285,518,519],{"class":306},"Upload artifact\n",[285,521,523,526,528],{"class":287,"line":522},26,[285,524,525],{"class":298},"        uses",[285,527,303],{"class":302},[285,529,530],{"class":306},"actions/upload-pages-artifact@v1\n",[285,532,534,536],{"class":287,"line":533},27,[285,535,441],{"class":298},[285,537,324],{"class":302},[285,539,541,544,546],{"class":287,"line":540},28,[285,542,543],{"class":298},"          path",[285,545,303],{"class":302},[285,547,548],{"class":306},"./.output/public\n",[285,550,552],{"class":287,"line":551},29,[285,553,314],{"emptyLinePlaceholder":313},[285,555,557],{"class":287,"line":556},30,[285,558,559],{"class":291},"  # Deployment job\n",[285,561,563,566],{"class":287,"line":562},31,[285,564,565],{"class":298},"  deploy",[285,567,324],{"class":302},[285,569,571],{"class":287,"line":570},32,[285,572,573],{"class":291},"    # Add a dependency to the build job\n",[285,575,577,580,582],{"class":287,"line":576},33,[285,578,579],{"class":298},"    needs",[285,581,303],{"class":302},[285,583,584],{"class":306},"build\n",[285,586,588],{"class":287,"line":587},34,[285,589,314],{"emptyLinePlaceholder":313},[285,591,593],{"class":287,"line":592},35,[285,594,595],{"class":291},"    # Grant GITHUB_TOKEN the permissions required to make a Pages deployment\n",[285,597,599,602],{"class":287,"line":598},36,[285,600,601],{"class":298},"    permissions",[285,603,324],{"class":302},[285,605,607,610,612,615],{"class":287,"line":606},37,[285,608,609],{"class":298},"      pages",[285,611,303],{"class":302},[285,613,614],{"class":306},"write",[285,616,617],{"class":291},"      # to deploy to Pages\n",[285,619,621,624,626,628],{"class":287,"line":620},38,[285,622,623],{"class":298},"      id-token",[285,625,303],{"class":302},[285,627,614],{"class":306},[285,629,630],{"class":291},"   # to verify the deployment originates from an appropriate source\n",[285,632,634],{"class":287,"line":633},39,[285,635,314],{"emptyLinePlaceholder":313},[285,637,639],{"class":287,"line":638},40,[285,640,641],{"class":291},"    # Deploy to the github_pages environment\n",[285,643,645,648],{"class":287,"line":644},41,[285,646,647],{"class":298},"    environment",[285,649,324],{"class":302},[285,651,653,656,658],{"class":287,"line":652},42,[285,654,655],{"class":298},"      name",[285,657,303],{"class":302},[285,659,660],{"class":306},"github-pages\n",[285,662,664,667,669],{"class":287,"line":663},43,[285,665,666],{"class":298},"      url",[285,668,303],{"class":302},[285,670,671],{"class":306},"${{ steps.deployment.outputs.page_url }}\n",[285,673,675],{"class":287,"line":674},44,[285,676,314],{"emptyLinePlaceholder":313},[285,678,680],{"class":287,"line":679},45,[285,681,682],{"class":291},"    # Specify runner + deployment step\n",[285,684,686,688,690],{"class":287,"line":685},46,[285,687,384],{"class":298},[285,689,303],{"class":302},[285,691,389],{"class":306},[285,693,695,697],{"class":287,"line":694},47,[285,696,395],{"class":298},[285,698,324],{"class":302},[285,700,702,704,706,708],{"class":287,"line":701},48,[285,703,354],{"class":302},[285,705,299],{"class":298},[285,707,303],{"class":302},[285,709,307],{"class":306},[285,711,713,716,718],{"class":287,"line":712},49,[285,714,715],{"class":298},"        id",[285,717,303],{"class":302},[285,719,720],{"class":306},"deployment\n",[285,722,724,726,728],{"class":287,"line":723},50,[285,725,525],{"class":298},[285,727,303],{"class":302},[285,729,730],{"class":306},"actions/deploy-pages@v1\n",[732,733,734],"style",{},"html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sByVh, html code.shiki .sByVh{--shiki-light:#22863A;--shiki-default:#85E89D;--shiki-dark:#85E89D}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}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);}",{"title":5,"searchDepth":295,"depth":295,"links":736},[737,738],{"id":252,"depth":295,"text":253},{"id":267,"depth":295,"text":268},"Deploy Nitro apps to GitHub Pages.","md",{},{},{"title":161,"description":739},"0BTvkNfnoyCQMU1jI7rbMXm2StsjvOPtFPOe9x4aaB0",[746,748],{"title":157,"path":158,"stem":159,"description":747,"children":-1},"Deploy Nitro apps to Genezio.",{"title":165,"path":166,"stem":167,"description":749,"children":-1},"Deploy Nitro apps to GitLab Pages.",1773176195014]