Because jekyll-scholar isn't in the list of GitHub-sanctioned plugins, we need a workaround. Here it is.
- edit the site on the
sourcebranch locally. - run
bundle exec jekyll serveto serve locally during editing.- Note: requires ruby version 3, so may need to change the current ruby
version (e.g.
chruby 3.1.7orrvm use 3.1.7--- note, tested withv3.4.5and it didn't work. use3.1.7).
- Note: requires ruby version 3, so may need to change the current ruby
version (e.g.
When ready, git push to put the edits on the GitHub.
- First time may need to set source:
git push --set-upstream origin source
./bin/deploy --userAnswer y.
- This will build the site from
sourcebranch (bundle exec jekyll build) and put the resulting site on themasterbranch, where github pages will find it and serve it at jahoo.github.io