Skip to content

A step for Wercker that renders template files based on environment variables.

Notifications You must be signed in to change notification settings

audienceproject/env-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Perl Template

A step for Wercker that processes template input files and replaces strings like ${FOO} with their value in the environment.

The step takes two arguments:

  • input: path to input file (the template)
  • output: path to output file (containing replaced values)
  • overwrite (optional): string of environment variables to overwrite, in form of ENVVAR1=VAL1,ENVVAR2,VAL2

Example

steps:
    - audienceproject/env-template:
        - input: foo.json.template
        - output: foo.json
        - overwrite: ENVVAR1=VAL1,ENVVAR2

About

A step for Wercker that renders template files based on environment variables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages