Create the baseline Jekyll files used by this CI setup and render the bundled site config into the workspace.
- name: Configure Jekyll
id: jekyll-config
uses: athackst/ci/actions/jekyll-config@main
| Name | Description | Default |
|---|---|---|
title |
The title of the site. | $ |
description |
The site description. (optional) | "" |
image |
The social preview image URL. (optional) | "" |
edit_url |
The URL used for edit links. (optional) | https://www.github.com/$/edit/main/ |
nav_filename |
The navigation file name. (optional) | .nav.yml |
versions_config |
The versions config path written into versions.config. Use a root-relative Pages path such as /ci/versions.json. When empty, versioning stays disabled. (optional) |
"" |
base_path |
The site base path written into versions.prefix, for example /ci. (optional) |
"" |
| Name | Description |
|---|---|
gemfile-path |
Path to the generated or existing Gemfile. |
config-path |
Path to the generated or existing _config.yml. |
semiliterate-config-path |
Path to the generated or existing semiliterate.yml. |
_config.yml, Gemfile, and semiliterate.yml only when they do not already exist._config.yml template with the provided metadata and GitHub repository context.versions.enabled automatically based on whether versions_config is empty.versions_config value directly to versions.config.base_path value directly to versions.prefix.Enable versioned docs with a root-relative Pages manifest:
- name: Configure Jekyll
id: jekyll-config
uses: athackst/ci/actions/jekyll-config@main
with:
title: My Docs
description: Project documentation
versions_config: /ci/versions.json
base_path: /ci
- run: bundle exec jekyll build --config "$"