-
Notifications
You must be signed in to change notification settings - Fork 922
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
Deployment on GitHub Pages with Workflow action fails #1975
Comments
Thank you - really appreciate your help! Merged the PR - the workflow still fails. We get the error message about
I can't see any Actions run on your fork - did it work for you? |
I revisited this issue and I was able to make it work by simply adding |
Thank you - it works perfectly! This is really helpful! Perhaps would be of general interest to GitHub Actions users. |
Glad I could help out.
Yes indeed. I addressed this with my PR #1435, which has an approval already. This PR is waiting for merging for more than one year already 😞. Please note that this PR takes a different approach (which is more straightforward IMO). |
Environment
hugo version
): hugo v0.125.4+extended darwin/arm64 BuildDate=2024-04-25T13:27:26Z VendorInfo=brewProblem
I am trying to deploy this website, which is a clone of the example site, to GitHub Pages using the officially recommended hugo.yaml workflow. I have added the following lines to the workflow to try and match the instructions:
hugo server
builds locally just fine on my M1 MacBook Pro, but when I push to GitHub I get the following error in the workflow:If I downgrade to
v0.9.1
and try again, I get a different errorWhat is going on? Is there a workflow that anyone has that will just work for a GitHub Action?
The text was updated successfully, but these errors were encountered: