2020-02-05 05:40:07 +00:00
|
|
|
name: 'GitHub Pages action'
|
2019-10-03 02:31:57 +00:00
|
|
|
description: 'GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.'
|
2019-09-05 14:07:49 +00:00
|
|
|
author: 'peaceiris'
|
|
|
|
runs:
|
2020-02-05 05:34:19 +00:00
|
|
|
using: 'node12'
|
|
|
|
main: 'lib/index.js'
|
2019-09-05 14:07:49 +00:00
|
|
|
branding:
|
|
|
|
icon: 'upload-cloud'
|
|
|
|
color: 'blue'
|
2019-09-14 18:49:20 +00:00
|
|
|
inputs:
|
2020-02-05 05:34:19 +00:00
|
|
|
deploy_key:
|
2020-03-09 12:45:20 +00:00
|
|
|
description: 'Set a SSH private key from repository secret value for pushing to the remote branch.'
|
2020-02-05 05:34:19 +00:00
|
|
|
required: false
|
|
|
|
github_token:
|
2020-03-09 12:45:20 +00:00
|
|
|
description: 'Set a generated GITHUB_TOKEN for pushing to the remote branch.'
|
2020-02-05 05:34:19 +00:00
|
|
|
required: false
|
|
|
|
personal_token:
|
2020-03-09 12:45:20 +00:00
|
|
|
description: 'Set a personal access token for pushing to the remote branch.'
|
2020-02-05 05:34:19 +00:00
|
|
|
required: false
|
|
|
|
publish_branch:
|
2020-03-09 12:45:20 +00:00
|
|
|
description: 'Set a target branch for deployment.'
|
2020-02-05 05:34:19 +00:00
|
|
|
required: false
|
|
|
|
default: 'gh-pages'
|
|
|
|
publish_dir:
|
2020-03-09 12:45:20 +00:00
|
|
|
description: 'Set an input directory for deployment.'
|
2020-02-05 05:34:19 +00:00
|
|
|
required: false
|
|
|
|
default: 'public'
|
|
|
|
external_repository:
|
2020-03-09 12:45:20 +00:00
|
|
|
description: 'Set an external repository (owner/repo).'
|
2020-02-05 05:34:19 +00:00
|
|
|
required: false
|
|
|
|
allow_empty_commit:
|
2019-09-14 18:49:20 +00:00
|
|
|
description: 'If empty commits should be made to the publication branch'
|
|
|
|
required: false
|
2020-02-05 05:34:19 +00:00
|
|
|
default: 'false'
|
|
|
|
keep_files:
|
2019-09-24 17:41:21 +00:00
|
|
|
description: 'If existing files in the publish branch should be not removed before deploying'
|
|
|
|
required: false
|
2019-10-03 02:31:57 +00:00
|
|
|
default: 'false'
|
2020-02-05 05:34:19 +00:00
|
|
|
force_orphan:
|
2019-12-22 20:49:21 +00:00
|
|
|
description: 'Keep only the latest commit on a GitHub Pages branch'
|
|
|
|
required: false
|
|
|
|
default: 'false'
|
2020-02-05 05:34:19 +00:00
|
|
|
user_name:
|
2019-12-24 06:22:01 +00:00
|
|
|
description: 'Set Git user.name'
|
|
|
|
required: false
|
2020-02-05 05:34:19 +00:00
|
|
|
user_email:
|
2019-12-24 06:22:01 +00:00
|
|
|
description: 'Set Git user.email'
|
|
|
|
required: false
|
2020-02-05 05:34:19 +00:00
|
|
|
commit_message:
|
2020-05-04 00:50:38 +00:00
|
|
|
description: 'Set a custom commit message with a triggered commit hash'
|
|
|
|
required: false
|
|
|
|
full_commit_message:
|
|
|
|
description: 'Set a custom full commit message without a triggered commit hash'
|
2020-01-06 14:46:48 +00:00
|
|
|
required: false
|
2020-02-05 05:34:19 +00:00
|
|
|
tag_name:
|
2020-01-18 03:55:18 +00:00
|
|
|
description: 'Set tag name'
|
|
|
|
required: false
|
2020-02-05 05:34:19 +00:00
|
|
|
tag_message:
|
2020-01-18 03:55:18 +00:00
|
|
|
description: 'Set tag message'
|
|
|
|
required: false
|
2020-03-06 20:30:51 +00:00
|
|
|
enable_jekyll:
|
|
|
|
description: 'Enable the GitHub Pages built-in Jekyll'
|
|
|
|
required: false
|
|
|
|
default: 'false'
|
2020-02-24 09:49:55 +00:00
|
|
|
disable_nojekyll:
|
2020-03-06 20:30:51 +00:00
|
|
|
description: 'An alias for enable_jekyll to disable adding .nojekyll file to master or gh-pages branches'
|
2020-02-24 09:49:55 +00:00
|
|
|
required: false
|
|
|
|
default: 'false'
|
|
|
|
cname:
|
|
|
|
description: 'Set custom domain'
|
|
|
|
required: false
|