Update action.yml

This commit is contained in:
James Ives 2019-11-08 10:54:43 -05:00
parent f6cce8dd71
commit fc443526c0

View File

@ -1,10 +1,21 @@
name: 'Your name here'
description: 'Provide a description here'
author: 'Your name or organization here'
name: 'Deploy to GitHub Pages'
description: 'This action will handle the building and deploying process of your project to GitHub Pages.'
author: 'James Ives <iam@jamesiv.es>'
inputs:
myInput: # change this
description: 'input description here'
default: 'default value if applicable'
FOLDER: # change this
description: The folder in your repository that you want to deploy. If your build script compiles into a directory named `build` you'd put it here. Folder paths cannot have a leading `/` or `./`.
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. This can be referenced in the workflow `yml` file by using `${{ secrets.GITHUB_TOKEN }}`. Only required if an access token is not provided.
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.
BRANCH:
description: This is the branch you wish to deploy to, for example `gh-pages` or `docs`.
BASE_BRANCH:
description: The base branch of your repository which you'd like to checkout prior to deploying. This defaults to `master`.
default: master
runs:
using: 'node12'
main: 'lib/main.js'
main: 'lib/main.js'
branding:
icon: 'git-commit'
color: 'orange'