Added action

This commit is contained in:
justgoodin 2021-06-27 01:33:28 +05:30
parent fd73720769
commit 1121706ccb

32
action.yml Normal file
View 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