Skip to content

actions-marketplace-validations/lukew3_json-fill-erb-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json Fill Erb Action

A Github Action to render an erb template with data from a json file.

Each value in the top level of the provided json object will be it's own variable usable in the erb.

See https://github.com/lukew3/resume for an example of how this can be used.

Usage

Add the following step to your github action:

- uses: lukew3/json-fill-erb-action@main
  with:
    json_path: path/to/resume.json
    erb_path: path/to/file.txt.erb
    out_path: path/to/file.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published