mirror of
https://github.com/status-im/actions-gh-pages.git
synced 2025-01-10 21:35:49 +00:00
00fde1eb97
* feat: Add disable_nojekyll and cname options * docs: Add cname and disable_nojekyll * chore: Add vim * chore(release): 3.3.0-0 * ci: Add codecov/codecov-action * refactor: Enhance warning message - Add .nojekyll file by default to only the master and gh-pages branches. When the file already exists, this action does nothing. - When we set other branches to publish_branch, this action does not add .nojekyll file. cf. https://github.com/peaceiris/actions-gh-pages/issues/112#issuecomment-589678269 Close #112 Co-authored-by: Daniel Himmelstein <daniel.himmelstein@gmail.com> Co-authored-by: Nicolas Vanhoren <nicolas.vanhoren@gmail.com>
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
name: 'GitHub Pages action'
|
|
description: 'GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.'
|
|
author: 'peaceiris'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'lib/index.js'
|
|
branding:
|
|
icon: 'upload-cloud'
|
|
color: 'blue'
|
|
inputs:
|
|
deploy_key:
|
|
description: ''
|
|
required: false
|
|
github_token:
|
|
description: ''
|
|
required: false
|
|
personal_token:
|
|
description: ''
|
|
required: false
|
|
publish_branch:
|
|
description: ''
|
|
required: false
|
|
default: 'gh-pages'
|
|
publish_dir:
|
|
description: ''
|
|
required: false
|
|
default: 'public'
|
|
external_repository:
|
|
description: ''
|
|
required: false
|
|
allow_empty_commit:
|
|
description: 'If empty commits should be made to the publication branch'
|
|
required: false
|
|
default: 'false'
|
|
keep_files:
|
|
description: 'If existing files in the publish branch should be not removed before deploying'
|
|
required: false
|
|
default: 'false'
|
|
force_orphan:
|
|
description: 'Keep only the latest commit on a GitHub Pages branch'
|
|
required: false
|
|
default: 'false'
|
|
user_name:
|
|
description: 'Set Git user.name'
|
|
required: false
|
|
user_email:
|
|
description: 'Set Git user.email'
|
|
required: false
|
|
commit_message:
|
|
description: 'Set custom commit message'
|
|
required: false
|
|
tag_name:
|
|
description: 'Set tag name'
|
|
required: false
|
|
tag_message:
|
|
description: 'Set tag message'
|
|
required: false
|
|
disable_nojekyll:
|
|
description: 'Disable adding .nojekyll file to master or gh-pages branches'
|
|
required: false
|
|
default: 'false'
|
|
cname:
|
|
description: 'Set custom domain'
|
|
required: false
|