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(workflow): ensure relative_url is used #1374

Conversation

ReenigneArcher
Copy link
Contributor

@ReenigneArcher ReenigneArcher commented Sep 12, 2024

The CI build does not respect the relative_url property when building from a "project" repo instead of the .github.io named repo.

Fixes #1373

The changes are derived from the examples here (https:/actions/jekyll-build-pages) and were tested here (ReenigneArcher#3). A small bug was found where those changes would not run certain plugins, such as those in a _plugins directory, so I reverted some of the changes, and made some tweaks in ReenigneArcher#4. The changes in this repo are slightly different than from those two PRs, as the the deploy step is omitted.

The majority of people using beautiful-jekyll will probably never notice this issue because they are probably either using the repo named .github.io or are not using the workflow to build and deploy the pages.

Evidence of functionality: https://reenignearcher.github.io/beautiful-jekyll/ (I am deploying from the CI workflow, not from a branch) https:/ReenigneArcher/beautiful-jekyll/actions/runs/10823491697

@ReenigneArcher ReenigneArcher marked this pull request as draft September 12, 2024 02:26
@ReenigneArcher ReenigneArcher force-pushed the ci/workflow/ensure-relative_url-is-used branch from db09647 to df71f8d Compare September 12, 2024 03:11
@ReenigneArcher ReenigneArcher marked this pull request as ready for review September 12, 2024 03:17
@daattali
Copy link
Owner

How can I reproduce the issue that you were having?

@daattali daattali merged commit 3920be6 into daattali:master Sep 21, 2024
1 check passed
@daattali
Copy link
Owner

I understand this now, thanks!

@ReenigneArcher ReenigneArcher deleted the ci/workflow/ensure-relative_url-is-used branch September 21, 2024 04:50
JiananAlvin pushed a commit to JiananAlvin/CLIP_exp_viz that referenced this pull request Oct 19, 2024
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.

CI build does not account for relative_url
2 participants