-
I setup GitHub Actions, but have had no luck getting the menus to populate. Would you have a working example with gh-pages branch for Jekyll website and this plug-in? I tested 9 different configuration setups and searched through the docs, plus if anyone else had any issues like this with Jekyll 4.0. I found this: helaili/jekyll-action#45 and is closest issue I have had similar to mine. I was unable to successfully build with Jekyll GitHub Actions 2.0.3 or 2.0.2; 2.0.1 enabled me to compile successfully, but even after success, it didn’t merge repo into the gh-pages branch as the documentation states; plus the Jekyll site with this plugin didn’t populate the menu. When I push changes, I push them to master repository, then GH actions checks, then is suppose to push to gh-pages to allow more possibility with Jekyll plugins and other features. Below, I have added some code and also a link to my repository. github-pages.yml
logs
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
When using this code: (Only thing changed was the version numbers to 2.0.1 and v1 for cache.
the build is successful, but does not push or create to gh-pages and populates this error:
|
Beta Was this translation helpful? Give feedback.
-
Hi @csharpee, Glad to see you in Github Community Forum! I forked your repository, and tried with version 2.0.1, it’s successful to create gh-pages branch and force push to it. My workflow: https://github.com/WadeOrg/galactic-society.github.io/runs/1040605985?check_suite_focus=true#step:5:134 My GH page setting: Could you please check again? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @weide-zhou, thank you for testing this. I created a commit on GitHub to test again, but no success on a new GH-Pages branch. My organizational settings are the same as yours. I don’t know how it works for you, but not me; maybe its a permission thing? I setup my JEKYLL_PAT via https://github.com/settings/tokens with permission of public_repo as the documentation states. Then, went to organizational account > settings > secrets and copied key from above to JEKYLL_PAT. Now, going through the steps again; I didn’t use an “organization secret”, but a “repository secret”. |
Beta Was this translation helpful? Give feedback.
-
Furthermore, I forked this repository on another organizational account and only added the token and updated the settings to enable GH-Pages on master. After this, the repository workflow created the gh-pages branch on the new organizational account. Maybe the dash - between Galactic-Society caused an issue? This is a very weird bug. Proof the setup works; only thing different is org account name. SharpeTronics/galactic-society.github.ioWill update description at a later date. Contribute to SharpeTronics/galactic-society.github.io development by creating an account on GitHub. |
Beta Was this translation helpful? Give feedback.
-
For others who may have difficulties with this, I will share a successful result here. github.com/jekyll/jekylldocs: GitHub-Actions.md
The page referring to is here: https://jekyllrb.com/docs/continuous-integration/github-actions/ Motivation After following instructions on the github-actions.md page, it seems the instructions are clear, but do...
documentation
|
Beta Was this translation helpful? Give feedback.
For others who may have difficulties with this, I will share a successful result here.
github.com/jekyll/jekylldocs: GitHub-Actions.md
The…