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