mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update action.yml
This commit is contained in:
parent
f6cce8dd71
commit
fc443526c0
25
action.yml
25
action.yml
@ -1,10 +1,21 @@
|
|||||||
name: 'Your name here'
|
name: 'Deploy to GitHub Pages'
|
||||||
description: 'Provide a description here'
|
description: 'This action will handle the building and deploying process of your project to GitHub Pages.'
|
||||||
author: 'Your name or organization here'
|
author: 'James Ives <iam@jamesiv.es>'
|
||||||
inputs:
|
inputs:
|
||||||
myInput: # change this
|
FOLDER: # change this
|
||||||
description: 'input description here'
|
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 `./`.
|
||||||
default: 'default value if applicable'
|
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:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
main: 'lib/main.js'
|
main: 'lib/main.js'
|
||||||
|
branding:
|
||||||
|
icon: 'git-commit'
|
||||||
|
color: 'orange'
|
Loading…
Reference in New Issue
Block a user