Deploy fail due to Jekyll include
syntax - How to FIX?
#35
Labels
enhancement
New feature or request
include
syntax - How to FIX?
#35
Hi,
Thanks for creating this lib @sinedied . I have QQ, when I have blog post usually with these contents
Now to be honest i'm really no clue how is this action is parsing that above. Like if it reads the html file directly and parses as markdown. The problem actually is even within that
<site>.html
file, I have somekramdown
syntax in there, which is not compatible with markdown:Just an example of course. Now I'm not 100% sure how this action is parsing it. But in either case it's failing it with a nondescriptive error. I had to do trail-and-error to figure out that the cause is because of
{% include ... %}
syntax.Q
Ideally, my Q here is as follow:
publish-devto
know to exclude when it encounter such a syntax like:{% include ... %}
E.g. does it try to evaluate it and read html file, and that's why its failing, it encounter kramdown? or does it fail just because it sees
include
syntax?{% include ... %}
altogether. How can I achieve this. I tried modifying it in yml directly, but deploy still fails I guess becausegit status --porcelain
shows error, since file is modified since i had to remove that offending line.git status
issue where it's trying to check if no dirty changes checked out before it commits to dev.to or update on GH?Appreciate help or clarification on this. Thanks
The text was updated successfully, but these errors were encountered: