From 1121706ccbf2fb21a1c349bb8ed1e47e468fbd1b Mon Sep 17 00:00:00 2001 From: justgoodin Date: Sun, 27 Jun 2021 01:33:28 +0530 Subject: [PATCH] Added action --- action.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..b7b0e38 --- /dev/null +++ b/action.yml @@ -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 \ No newline at end of file