minecraft-access icon indicating copy to clipboard operation
minecraft-access copied to clipboard

Add a check to see what repository the website is being built in

Open BrailleBennett opened this issue 10 months ago • 2 comments

Can you please add a check to the GitHub pages build script to check that it is actually in the minecraft-access/minecraft-access repository before attempting to build? Every time I update my fork's dev branch Github sends me 1 to 2 emails about the pages failing to build because they can't be deployed to mcaccess.org.

BrailleBennett avatar Feb 19 '25 06:02 BrailleBennett

It also puts the "some checks were unsuccessful" label on my dev branch, which annoys me lol.

BrailleBennett avatar Feb 19 '25 06:02 BrailleBennett

As a temporary workaround you should be able to enable GitHub Pages in your fork's settings, set it to deploy from GitHub Actions, and ensure the github-pages environment doesn't have any environment protection rules. You can also of course disable GitHub Actions completely in your fork's settings if you don't need any of the other workflows.

TheSuperGamer20578 avatar Feb 19 '25 06:02 TheSuperGamer20578