đź“ť Edit page
âž• Add page
Jekyll
How to build a Jekyll static site using GH Actions
Topics
Pages
- Jekyll with NPM packages on GH Pages
-
Low-level
Run Jekyll against the docs directory and publish to GH Pages, using generic actions
Content
Resources
- GitHub Actions CI - a tutorial I wrote for the Jekyll docs.
- jekyll-actions-quickstart project site of mine including resources
Local config
If you need to set values in the environment locally, you could do this with an ignored .env
file at the root. You’ll have to to load that into the shell. Some plugins will read from a .env
file though.
In this case the only environment variable needed is one needed to actually run the action and build to gh-pages branch, so this project has no .env
file.