ghaction-github-pages/action.yml
CrazyMax 077e8dcf81
Add ability to sign commits through Import GPG GitHub Action
Add author input
Fix default committer and author for GitHub Actions bot
Replace GITHUB_PAT env var with GH_PAT (#53)
Replace committer_name and committer_email inputs with committer
2020-05-11 14:59:39 +02:00

44 lines
1.1 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
runs:
using: 'node12'
main: 'dist/index.js'