Skip to content

Improve docs around using GitHub Actions to build and deploy Jekyll sites#9682

Merged
jekyllbot merged 10 commits intojekyll:masterfrom
nisbet-hubbard:patch-1
Sep 22, 2024
Merged

Improve docs around using GitHub Actions to build and deploy Jekyll sites#9682
jekyllbot merged 10 commits intojekyll:masterfrom
nisbet-hubbard:patch-1

Conversation

@nisbet-hubbard
Copy link
Copy Markdown
Contributor

This is a 🔦 documentation change.

Summary

Migration from standard flow can be fraught with surprises if one keeps using a GitHub-hosted theme. This PR smooths the way by pointing out the necessary configurations.

@nisbet-hubbard nisbet-hubbard changed the title Add caveat to github-actions.md for migration from standard flow Improve docs around migration from standard flow to jekyll.yml Sep 16, 2024
Co-authored-by: Ashwin Maroli <ashmaroli@users.noreply.github.com>
@ashmaroli
Copy link
Copy Markdown
Member

Hello @nisbet-hubbard,
I have multiple misgivings with the proposed additions:

  • What is this standard flow? This phrase has not been described / defined beforehand.
  • Why are you recommending to add all gems at pages.github.com/versions/ to Gemfile + config_file? Let the user install only those gems they actually need.
  • The note addition at /docs/plugin/installation/ is inconclusive. The workaround is to use GitHub Actions not using jekyll.yml. jekyll.yml is just an example workflow.

@nisbet-hubbard
Copy link
Copy Markdown
Contributor Author

nisbet-hubbard commented Sep 21, 2024

Thanks for the queries! I had misgivings about their wording too:

When building a Jekyll site with GitHub Pages, the standard flow is restricted for security reasons
and to make it simpler to get a site setup. For more control over the build and still host the site
with GitHub Pages you can use GitHub Actions.

I have now incorporated your suggestions to reflect the fact that the default GitHub Pages Jekyll workflow is also an Actions workflow, and the current choice is between two Actions workflows: GitHub Pages Jekyll or Jekyll.

@ashmaroli ashmaroli changed the title Improve docs around migration from standard flow to jekyll.yml Improve docs around using GitHub Actions to build and deploy Jekyll sites Sep 22, 2024
@ashmaroli
Copy link
Copy Markdown
Member

Thanks @nisbet-hubbard
@jekyllbot: merge +doc

@jekyllbot jekyllbot merged commit 860c5d6 into jekyll:master Sep 22, 2024
jekyllbot added a commit that referenced this pull request Sep 22, 2024
github-actions bot pushed a commit that referenced this pull request Sep 22, 2024
nisbet-hubbard: Improve docs around using GitHub Actions to build and deploy Jekyll sites (#9682)

Merge pull request 9682
@jekyll jekyll locked and limited conversation to collaborators Sep 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants