2019-09-01 04:23:41 +08:00
|
|
|
# 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'
|
2019-09-01 05:48:53 +08:00
|
|
|
icon: 'upload-cloud'
|
2019-09-01 04:23:41 +08:00
|
|
|
|
|
|
|
inputs:
|
2019-10-03 09:16:44 +08:00
|
|
|
repo:
|
2019-10-11 08:21:14 +08:00
|
|
|
description: 'GitHub repository where assets will be deployed (default current). Eg: portapps/portapps.github.io'
|
2019-09-01 05:28:00 +08:00
|
|
|
target_branch:
|
|
|
|
description: 'Git branch where assets will be deployed'
|
|
|
|
default: 'gh-pages'
|
2019-09-01 04:23:41 +08:00
|
|
|
build_dir:
|
2019-10-11 07:41:16 +08:00
|
|
|
description: 'Build directory to deploy'
|
2019-09-01 04:23:41 +08:00
|
|
|
required: true
|
|
|
|
|
|
|
|
runs:
|
2019-10-11 07:41:16 +08:00
|
|
|
using: 'node12'
|
|
|
|
main: 'lib/main.js'
|