-
Notifications
You must be signed in to change notification settings - Fork 168
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
Errors when building hugo on Azure Static Sites #2078
Comments
Thanks so much for reaching out @aionic! Seems like this is occurring because the Hugo version was wrongly detected as 0.96? Can you confirm what the Hugo version in your app is? This issue seems to be related to this known issue. The Oryx team rolled out a fix for this issue in this PR. The Static Web Apps team has this update in staging and is planning to roll out the new version of the StaticSitesClient shortly. |
Hey @snehapar9 - Hugo version was v.0.115.3. When I renamed hugo.toml to config.toml the solution ran Hugo but was built via the wrong version. Thanks |
@aionic From this discussion looks like the changes have been rolled out. It may be possible for the version mismatch to still be there, but it seems to be working for other folks. Do you mind re-trying and letting me know if you still see the same issue? |
trying new yaml found online. microsoft/Oryx#2078
This issue seems resolved. Will be closing this issue. If this is still relevant and impacting you please open a new issue and link back to this issue for reference. |
Bug Report
At what date and time did you most recently experience the problem?
07/19/2023
Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
Azure Static Web App
If your repo is publicly available please share its URL:
What happened?
Build a static web app leveraging the hugo v.0.115.3 and the the hugo-awesome-blog theme at https://github.com/hugo-sid/hugo-blog-awesome
Two separate issues/behaviors
Finally worked around, this by using an alternate build solution, disabling oryx build and only deploying through the staticwebapp action (working example below)
What did you expect or want to happen?
Have the solution build / deploy properly
How can we reproduce it?
Install hugo version 0.115.3
Make sure the above runs fine locally, if so
Run through the quick start process on Azure Static Sites (Push your application to Github)
https://learn.microsoft.com/en-us/azure/static-web-apps/publish-hugo#push-your-application-to-github
See above
The text was updated successfully, but these errors were encountered: