Help publishing my AMANIBOLINGO website with GitHub Pages #214586
Replies: 3 comments
|
The admin needs to make a self-hosted runner available to your repo, or change the Enterprise runner policy, so the Pages build can run. This is my inference from the error message, not a documented procedure. If your Enterprise uses Enterprise Managed Users, Pages sites can only be private, so amanibolingo.com can't be public from that account. Host it from a personal GitHub account instead. |
|
Hello, I built the code for my website, AMANIBOLINGO, myself. I have already uploaded the website files to our GitHub repository:
I am trying to publish the website using GitHub Pages, but GitHub is blocking the publishing process because of the Enterprise self-hosted runner settings. I need your help with the GitHub organization settings. Could you please:
I have already done the website coding. I just need help removing the GitHub publishing restriction so everyone can visit AMANIBOLINGO. Thank you! |
|
Community members can't change your organization or enterprise settings — only your enterprise/org admin can. Here is exactly what to ask them, and why the error happens. The error comes from how Pages deploys: even with "Deploy from a branch", GitHub says your site "will always be deployed with a GitHub Actions workflow run" (Configuring a publishing source). Your enterprise only allows self-hosted runners, so that built-in run has nowhere to go. For the same reason, adding Option A: deploy with your own workflow on a self-hosted runner (needs your enterprise/org admin)
name: Deploy static site to Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
deploy:
runs-on: [self-hosted]
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v4
with:
path: .
- id: deployment
uses: actions/deploy-pages@v4
Option B: check whether a public site is possible at all If your enterprise uses Enterprise Managed Users, the docs say Pages sites "are always privately published, and you cannot change this visibility" (GitHub Pages limits). In that case, Your admin can tell you which case applies. Only they (or GitHub Support, contacted by the enterprise owner) can change the runner policy. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
Hello GitHub Community,
I need help publishing my website, AMANIBOLINGO, so everyone can visit it online.
Repository:
amanibolingo/amanibolingo-social-networkMy GitHub Pages settings are:
main/(root)GitHub displays this error:
"Your Enterprise is configured to use self-hosted runners exclusively. Please contact support to build pages on self-hosted runners."
Could someone explain how my Enterprise administrator can enable a supported build method for GitHub Pages, or how I can contact GitHub Support to resolve this?
My goal is to make my website publicly accessible at
amanibolingo.com.Thank you for your help!
All reactions