Skip to content
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

Jekyll build failing on GitHub Actions #1149

Open
alessionossa opened this issue Nov 1, 2024 · 2 comments
Open

Jekyll build failing on GitHub Actions #1149

alessionossa opened this issue Nov 1, 2024 · 2 comments

Comments

@alessionossa
Copy link

I forked the repository but when I try to deploy the content to GitHub Pages from develop or v26.0 tag, the deployment fails with error

  Liquid Exception: Liquid syntax error (line 31): Unknown tag 'hint' in rawdoc.html

See this GitHub Action run for full log.

It works fine from v24.4.stable branch.

@steveseguin
Copy link
Owner

Github changed the page deployment option about 3 months back, where they introduced a more complex workflow.

VDO.Ninja will not deploy if using a Jekyll deployment -- it's incompatible. It needs to be setup as a classic "static page".

I noticed Github had me setup with this workflow:

image

I just changed it to this workflow now, but I don't think it makes a difference.

image

I'm not entirely sure why v24 works for you. I can delete this file
https://github.com/steveseguin/vdo.ninja/blob/develop/.github/workflows/static.yml file, which is what I added a couple months ago to address this issue for another user, but it might create that old issue again.

My guess is you need to edit your pages settings in Github to use "static" pages also, instead of "jekyll" or whatever is selected by default.

I'll need to create a new Github account to try forking things and see how the workflow is like though to know for sure.

@alessionossa
Copy link
Author

Selecting the GitHub Action, as a source works for me too, thanks! I saw the issue while having the setting as Deploy from a branch. Maybe you could add this to the documentation 📖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants