recih/Template Render Action

A github action to render ejs/mustache template files using github context.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
template-fileInput template file path. You must specify either a template file or a template string.no
templateInput template string. You must specify either a template file or a template string.no
globglob mode. You can render all files matching the glob pattern. If true, the `template-file` will be considered as a glob pattern. `template`/`output-file` will be ignored. `content` field in action output will not be set. The output file name will be the same as the input file name, without the file extension. eg. 'data.json.template' will be rendered to 'data.json' nofalse
varsInput variables. A dictionary of variables to be used in the template. Or specify a .yml/.yaml/.json file path.no
engineTemplate engine. Default is ejs. Currently supported: ejs, mustache.noejs
optionsextra render options for the template engine.no{}
output-fileOutput file path. If specified, the rendered template will be written to this file. Caution: If the file already exists, it will be overwritten.no
namedescription
contentOutput content. The rendered template.