ghaction-github-pages/action.yml
2019-10-11 02:21:27 +02:00

22 lines
580 B
YAML

# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'GitHub Pages'
description: 'GitHub Action for deploying GitHub Pages'
author: 'crazy-max'
branding:
color: 'green'
icon: 'upload-cloud'
inputs:
repo:
description: 'GitHub repository where assets will be deployed (default current). Eg: portapps/portapps.github.io'
target_branch:
description: 'Git branch where assets will be deployed'
default: 'gh-pages'
build_dir:
description: 'Build directory to deploy'
required: true
runs:
using: 'node12'
main: 'lib/main.js'