Open Antropath opened 6 months ago
Hi, thanks for the report. Actually the .github/workflows/main.yml got updated quite recently, so it'll work if you copy the content of current HEAD. The content is almost the same with default Jekyll workflow, so the both will work if you delete the original file and add Jekyll workflow, or replace with the current HEAD's main.yml.
I didn't know that we can use $default-branch
, so I'll use it for on.push.branches
, and get some comments from Jekyll workflow.
Oh, $default-branch
is replaced when we setup a workflow using GitHub UI. https://github.com/actions/starter-workflows/blob/main/README.md#variables
Then I'll just add comments.
Issue Description
When following the README instructions to set up the
whiteglass-template
, the deployment fails in GitHub Actions with an error related to an outdated Rubygems version. The error message is as follows:Root Cause
This issue arises from an outdated
main.yml
workflow file which does not accommodate the newer Rubygems version requirements as specified bysass-embedded
. A recent update to the Jekyll documentation (PR #9426) provides a method to create a compliant GitHub Actions workflow.Recommended Actions
To resolve this issue, I propose the following options for updating the workflow:
main.yml
file.Given the purpose of templates to reduce setup effort, I recommend going with Option 2b. However, I am open to feedback or alternative suggestions.
Next Steps
Please advise on which option you prefer, or if there is another approach you would consider. I am happy to assist in implementing the changes once a decision is made.
Thank you for considering this issue. Looking forward to your input.