Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(build): fix baseurl when basepath is empty #1419

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ReenigneArcher
Copy link
Contributor

I discovered a bug in this code when building from a main project, instead of a subproject. If the base_path evaluates to empty, then the _config_ci.yml syntax is invalid, so this fix wraps the value in single quotes to ensure it is valid whether it is empty or not.

Additionally, the env variables added help Jekyll detect github metadata (I think for the edit button).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant