github-pages-deploy-action/action.yml

58 lines
3.0 KiB
YAML
Raw Normal View History

2019-11-08 23:54:43 +08:00
name: 'Deploy to GitHub Pages'
2019-11-09 00:49:08 +08:00
description: 'This action will handle the deployment process of your project to GitHub Pages.'
2019-11-08 23:54:43 +08:00
author: 'James Ives <iam@jamesiv.es>'
runs:
2019-11-08 06:46:04 +08:00
using: 'node12'
2019-11-08 23:54:43 +08:00
main: 'lib/main.js'
branding:
icon: 'git-commit'
3.2.0 (#142) * Additional Integration tests (#123) * Update integration-beta.yml * git fetch again * git fetch * Tests * Failing Build (#124) * Bump @types/node from 13.1.6 to 13.1.7 (#126) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.1.6 to 13.1.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump @types/jest from 24.0.25 to 24.9.0 (#127) Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.0.25 to 24.9.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * js > ts * License Upgrades * Bump typescript from 3.7.4 to 3.7.5 (#132) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.4 to 3.7.5. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.4...v3.7.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * [Issue-133] Customizable Commit Messages (#134) * Customizable Commit Messages * Removes lodash * Update package.json * README * Changes * Check for null * Adds a dash * Support action/checkout@v2 (#136) * Create CODEOWNERS * Update integration.yml * Adds automatic issue labels (#139) * [Issue-130] SSH Support (#140) * First pass at deploy key support * Needed * More ssh * Adds keyscan * Another look at this * More things.... * w * Path to home * w * k * Update git.ts * ff * dd * test * File Sync maybe * Adds SSH Examples * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * x * c * Update README.md * Integration tests * Update integration-beta.yml * More Changes * Update README.md * README Reorg * Update README.md * Update README.md * Update README.md * Adds correct metadata * Update action.yml * Formatting * Update build.yml * Adds CodeCov report * Update README.md * Test Coverage Improvements (#141) * Test Coverage Improvements * Update env.js * More Test Coverage / Imps * Update README.md * Formatting * Update git.js * Test Names... * Update action.yml Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-01-20 05:33:10 +08:00
color: 'orange'
inputs:
SSH:
description: 'You can configure the action to deploy using SSH by setting this option to true. More more information on how to add your ssh key pair please refer to the Using a Deploy Key section of this README.'
required: false
ACCESS_TOKEN:
description: 'Depending on the repository permissions you may need to provide the action with a GitHub personal access token instead of the provided GitHub token in order to deploy. This should be stored as a secret.'
required: false
GITHUB_TOKEN:
description: 'In order for GitHub to trigger the rebuild of your page you must provide the action with the repositories provided GitHub token.'
required: false
BRANCH:
description: 'This is the branch you wish to deploy to, for example gh-pages or docs.'
required: true
FOLDER:
description: 'The folder in your repository that you want to deploy. If your build script compiles into a directory named build you would put it here. Folder paths cannot have a leading / or ./. If you wish to deploy the root directory you can place a . here.'
required: true
TARGET_FOLDER:
description: 'If you would like to push the contents of the deployment folder into a specific directory on the deployment branch you can specify it here.'
required: false
BASE_BRANCH:
description: 'The base branch of your repository which you would like to checkout prior to deploying. This defaults to the current commit SHA that triggered the build followed by master if it does not exist. This is useful for making deployments from another branch, and also may be necessary when using a scheduled job.'
required: false
COMMIT_MESSAGE:
description: 'If you need to customize the commit message for an integration you can do so.'
required: false
CLEAN:
description: 'If your project generates hashed files on build you can use this option to automatically delete them from the deployment branch with each deploy. This option can be toggled on by setting it to true.'
required: false
CLEAN_EXCLUDE:
description: "If you need to use CLEAN but you would like to preserve certain files or folders you can use this option. This should be formatted as an array but stored as a string."
required: false
GIT_CONFIG_NAME:
description: "Allows you to customize the name that is attached to the GitHub config which is used when pushing the deployment commits. If this is not included it will use the name in the GitHub context, followed by the name of the action."
required: false
GIT_CONFIG_EMAIL:
description: "Allows you to customize the email that is attached to the GitHub config which is used when pushing the deployment commits. If this is not included it will use the email in the GitHub context, followed by a generic noreply GitHub email."
2020-01-28 13:07:02 +08:00
required: false