3604e9d98b
GitHub Pages will use Jekyll to build your site by default. This input option allows for this functionality to be disabled. The option is left to `true` by default as setting to `false` will cause the `.nojekyll` file to be written to the output directory. https://help.github.com/en/github/working-with-github-pages/about-github-pages#static-site-generators
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
|
|
name: 'GitHub Pages'
|
|
description: 'GitHub Action to deploy to GitHub Pages'
|
|
author: 'crazy-max'
|
|
branding:
|
|
color: 'green'
|
|
icon: 'upload-cloud'
|
|
|
|
inputs:
|
|
repo:
|
|
description: 'GitHub repository where assets will be deployed (default current)'
|
|
required: false
|
|
target_branch:
|
|
description: 'Git branch where assets will be deployed'
|
|
default: 'gh-pages'
|
|
required: false
|
|
keep_history:
|
|
description: 'Create incremental commit instead of doing push force'
|
|
default: 'false'
|
|
required: false
|
|
allow_empty_commit:
|
|
description: 'Allow an empty commit to be created'
|
|
default: 'true'
|
|
required: false
|
|
build_dir:
|
|
description: 'Build directory to deploy'
|
|
required: true
|
|
committer:
|
|
description: 'The committer name and email address'
|
|
required: false
|
|
author:
|
|
description: 'The author name and email address'
|
|
required: false
|
|
commit_message:
|
|
description: 'Commit message'
|
|
required: false
|
|
fqdn:
|
|
description: 'Write the given domain name to the CNAME file'
|
|
required: false
|
|
jekyll:
|
|
description: 'Allow Jekyll to build your site'
|
|
default: 'true'
|
|
required: false
|
|
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|