Added action
This commit is contained in:
parent
fd73720769
commit
1121706ccb
1 changed files with 32 additions and 0 deletions
32
action.yml
Normal file
32
action.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# action.yml
|
||||||
|
name: 'Pelican to Github Pages'
|
||||||
|
description: 'Generate the Pelican output and deploy to Github Pages'
|
||||||
|
|
||||||
|
branding:
|
||||||
|
icon: 'home'
|
||||||
|
color: 'red'
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: 'docker'
|
||||||
|
image: 'Dockerfile'
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
GH_PAGES_BRANCH:
|
||||||
|
description: 'override the default `gh-pages` deployment branch'
|
||||||
|
required: false
|
||||||
|
default: 'gh-pages'
|
||||||
|
GH_PAGES_CNAME:
|
||||||
|
description: 'specify the custom domain configured for the output branch'
|
||||||
|
required: false
|
||||||
|
default: none
|
||||||
|
PELICAN_CONFIG_FILE:
|
||||||
|
description: 'override the default `pelicanconf.py` config file'
|
||||||
|
required: false
|
||||||
|
default: pelicanconf.py
|
||||||
|
PELICAN_CONTENT_FOLDER:
|
||||||
|
description: 'override the default `content` content folder'
|
||||||
|
required: false
|
||||||
|
default: content
|
||||||
|
PELICAN_THEME_FOLDER:
|
||||||
|
description: 'setup the theme folder with package.json file, is required if you need install node modules'
|
||||||
|
required: false
|
Loading…
Reference in a new issue