cotes2020 / jekyll-theme-chirpy

A minimal, responsive, and feature-rich Jekyll theme for technical writing.
https://chirpy.cotes.page
MIT License
7.1k stars 5.63k forks source link

Github Actions build failure after enabling gisqus support #550

Closed allenphilip93 closed 2 years ago

allenphilip93 commented 2 years ago

Checklist

Describe the bug

Build fails after enabling gisqus with comments/gisqus.html not found error

To Reproduce

Steps to reproduce the behavior:

  1. Check for eligibility for gisqus integration and configured the same from https://giscus.app
  2. Configured the giscus repo, repoId, category & categoryId from _config.yml
  3. Push changes to branch
  4. See error in Github actions
  5. Checked jekyll-theme-chirpy-5.1.0 package and it has the comments/gisqus.html
  6. Works fine after reverting to disqus
Configuration file: /home/runner/work/allenphilip93.github.io/allenphilip93.github.io/_config.yml
 Theme Config file: /home/runner/work/allenphilip93.github.io/allenphilip93.github.io/vendor/bundle/ruby/2.7.0/gems/jekyll-theme-chirpy-[5](https://github.com/allenphilip93/allenphilip93.github.io/runs/5845078697?check_suite_focus=true#step:4:5).1.0/_config.yml
            Source: /home/runner/work/allenphilip93.github.io/allenphilip93.github.io
       Destination: /home/runner/work/allenphilip93.github.io/allenphilip93.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Liquid Exception: Could not locate the included file 'comments/gisqus.html' in any of ["/home/runner/work/allenphilip93.github.io/allenphilip93.github.io/_includes", "/home/runner/work/allenphilip93.github.io/allenphilip93.github.io/vendor/bundle/ruby/2.[7](https://github.com/allenphilip93/allenphilip93.github.io/runs/5845078697?check_suite_focus=true#step:4:7).0/gems/jekyll-theme-chirpy-5.1.0/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source. in /home/runner/work/allenphilip[9](https://github.com/allenphilip93/allenphilip93.github.io/runs/5845078697?check_suite_focus=true#step:4:9)3.github.io/allenphilip93.github.io/vendor/bundle/ruby/2.7.0/gems/jekyll-theme-chirpy-5.1.0/_layouts/page.html
                    ------------------------------------------------
      Jekyll 4.2.2   Please append `--trace` to the `build` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------
/home/runner/work/allenphilip93.github.io/allenphilip93.github.io/vendor/bundle/ruby/2.7.0/gems/jekyll-4.2.2/lib/jekyll/tags/include.rb:219:in `locate_include_file': Could not locate the included file 'comments/gisqus.html' in any of ["/home/runner/work/allenphilip93.github.io/allenphilip93.github.io/_includes", "/home/runner/work/allenphilip93.github.io/allenphilip93.github.io/vendor/bundle/ruby/2.7.0/gems/jekyll-theme-chirpy-5.1.0/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source. (IOError)

Expected behavior

No error

Screenshots

image

Environment

Repo: https://github.com/allenphilip93/allenphilip93.github.io

Command Version
ruby -v
gem -v
bundle -v
bundle exec jekyll -v 4.2.2
bundle info jekyll-theme-chirpy 5.1.0

Desktop

Smartphone

Additional context

github-actions[bot] commented 2 years ago

:wave: Hi @allenphilip93,

This issue is being automatically closed because it does not follow the issue template. Please DO NOT open another similar issue, try to edit the current issue according to the template, then it will be reopened automatically.

NichtsHsu commented 2 years ago

Not gisqus, it is giscus. Please check it.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.