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
"Invalid YAML front matter in" - error with Github Pages build process #6830
Comments
That happens when your action is misconfigured and Jekyll is trying to build an Astro project. We have an official guide and action you can use to set up GitHub Pages correctly: https://docs.astro.build/en/guides/deploy/github/ Closing since this is not a bug in Astro, it's just how GitHub Pages work when there's no action configured |
Make sure you referenced the correct workflow file that is ran. |
I have the same issue too and I solved it by adding a file named |
This solved my issue as well. Would it make sense to add this as a note to the documentation? |
This commit fixes CI workflow as shown here: withastro/astro#6830
What version of
astro
are you using?2.2.3
Are you using an SSR adapter? If so, which one?
Vercel
What package manager are you using?
npm
What operating system are you using?
Windows
What browser are you using?
All of them
Describe the Bug
I have AstroJS project uploaded on Github as open source repository. I don't use Github Pages for hosting, but when it was enabled there was an error in build process. I didn't find working solution to fix it yet. I compared Layout.astro and Index.astro files to current Astro starter but I didn't find any bugs. VSCode with Eslint don't show any errors too.
Log file with an error: https://github.com/matt765/Tailcast/actions/runs/4639085395/jobs/8209553067
Repository: https://github.com/matt765/Tailcast
Link to Minimal Reproducible Example
https://github.com/matt765/Tailcast/actions/runs/4639085395/jobs/8209553067
Participation
The text was updated successfully, but these errors were encountered: