Skip to content

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

License

Notifications You must be signed in to change notification settings

lukew3/json-fill-erb-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 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

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published