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

Jekyll build strategy #10

Open
AlexanderPico opened this issue Sep 8, 2023 · 0 comments
Open

Jekyll build strategy #10

AlexanderPico opened this issue Sep 8, 2023 · 0 comments
Assignees

Comments

@AlexanderPico
Copy link
Member

What if...

  • Site pages are hosted at pf-db(gh-pages branch), serving 3GiB of pre-built HTML (over 1GiB limit, but seems ok)
  • The pf-db-jekyll repo builds only the latest ~1000 figure pages (per month) directly from md files (and maybe also front page, about, help, etc), and then commits them to pf-db(gh-pages) as pre-built HTML
  • pf-db(main) would hold the full collection of md files and run R code to generate JSON, table, wp and ndex pages, and then commit them to pf-db(gh-pages) as pre-built HTML as well. It could also hold all all TSVs (~800MiB).

The pf-db-jekyll repo provides a lightweight Jekyll solution that GH can manage (should be smaller that WP). Any pages requiring all of the content (e.g. JSON, search and browse pages) would be handled as independent Gh Actions running R code which should complete within 6 hours no problem.

This would eliminate need for local builds and support a monthly pipeline.

@AlexanderPico AlexanderPico self-assigned this Sep 8, 2023
@AlexanderPico AlexanderPico changed the title Build strategies Jekyll build strategy Sep 8, 2023
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

No branches or pull requests

1 participant