Files
jekyll-build-pages/action.yml
T

32 lines
1.1 KiB
YAML
Raw Normal View History

name: 'Build Jekyll for GitHub Pages'
2021-12-14 11:25:38 -05:00
description: 'A simple GitHub Action for producing Jekyll build artifacts compatible with GitHub Pages'
author: 'GitHub'
2021-12-14 11:25:38 -05:00
inputs:
source:
description: 'Directory where the source files reside.'
required: false
default: ./
destination:
description: 'Output directory of the build. Although it can be nested inside the source, it cannot be the same as the source directory.'
required: false
default: ./_site
2021-12-27 15:00:36 -08:00
future:
2022-01-28 23:42:42 +00:00
description: 'Publishes posts with a future date. When set to true, the build is made with the --future option which overrides the future option that may be set in a Jekyll configuration file.'
2021-12-27 15:00:36 -08:00
required: false
2022-01-28 23:42:42 +00:00
default: false
2022-01-06 22:46:29 +00:00
build_revision:
description: 'The SHA-1 of the git commit for which the build is running. Default to GITHUB_SHA.'
required: false
default: ${{ github.sha }}
2021-12-14 11:25:38 -05:00
verbose:
description: 'Verbose output'
required: false
2021-12-27 15:00:36 -08:00
default: true
2021-12-14 11:25:38 -05:00
token:
description: 'GitHub token'
required: true
default: ${{ github.token }}
runs:
using: 'docker'
2024-08-06 16:43:14 -07:00
image: 'docker://ghcr.io/actions/jekyll-build-pages:v1.0.13'