Disable status page publishing #107
-
From the getting started docs:
Created a new private repo based on the template, updated the config file, did not enable GitHub Pages, but a status site was published publicly automatically anyway. This appears to be done by maxheld83/ghpages in the site.yml. Is there another supported way to disable publishing a public status page for cases where it is not desired? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Quick question, have you tried disabling GitHub Pages from the settings? Does it auto re-enable when you manually run "Static Site CI"? |
Beta Was this translation helpful? Give feedback.
-
When I initially created the repo based on the template, I checked the box to What appears to be happening is that GitHub automatically publishes GitHub Pages when a Based on these findings, a workaround I did for my upptime is to create an empty It would be nice if there was a setting which would skip the step that pushes to the |
Beta Was this translation helpful? Give feedback.
-
Aah, that makes sense. For now, what I've done is that if you have a private repository, we don't generate the site, we just generate an For people who have a private repo and still want to publish their status website, they now have to set this: status-website:
publish: true |
Beta Was this translation helpful? Give feedback.
Aah, that makes sense. For now, what I've done is that if you have a private repository, we don't generate the site, we just generate an
index.html
page that says "404" and put that in the dist directory. This way, even if it pushed togh-pages
and the site is deployed, there's nothing to see there. Soon, I want to add the feature to completely disable publishing if it's a private repo rather than this hack.For people who have a private repo and still want to publish their status website, they now have to set this: