ghaction-github-pages/action.yml
2019-11-06 03:02:59 +01:00

31 lines
851 B
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)'
target_branch:
description: 'Git branch where assets will be deployed'
default: 'gh-pages'
build_dir:
description: 'Build directory to deploy'
required: true
comitter_name:
description: 'Name of the commit author'
default: '<GITHUB_ACTOR>'
comitter_email:
description: 'Email of the commit author'
default: '<GITHUB_ACTOR>@users.noreply.github.com'
commit_message:
description: 'Commit description'
default: 'Deploy to GitHub pages'
runs:
using: 'node12'
main: 'lib/main.js'