I found a plugin on planet Jekyll called jekyll_github_sample, and it does not work with the following error/liquid tag exception in github actions:
# Build log
Liquid Exception: 404 Not Found in /github/workspace/collections/_posts/2021-10-02-comparing-languages.markdown
# Info to use --trace
/usr/local/lib/ruby/2.7.0/open-uri.rb:387:in `open_http': 404 Not Found (OpenURI::HTTPError)
# The entire ruby exception
On local, it is:
# Build log
Liquid Exception: Invalid argument @ rb_sysopen - https://raw.githubusercontent.com/TwoPizza9621536/snippets/de58a106e186d7efe32b2cea868b87a226a96aa9/C/Printchara.c in the site's root directory.
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll_github_sample-0.3.2/lib/jekyll_github_sample/code_tag.rb:19:in `initialize': Invalid argument @ rb_sysopen - https://raw.githubusercontent.com/TwoPizza9621536/snippets/de58a106e186d7efe32b2cea868b87a226a96aa9/C/Printchara.c (Errno::EINVAL)
So I try to use another but similar plugin called jekyll_github_content, but it is giving me the 404 error that is shown in github actions. If anyone who uses these plugins can help me, thanks.