Skip to content

Instantly share code, notes, and snippets.

@Frondor
Forked from zburgermeiszter/envsubst-multi.sh
Created June 23, 2018 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Frondor/c1271c29b51330cc650bab5878c7c9ec to your computer and use it in GitHub Desktop.
Save Frondor/c1271c29b51330cc650bab5878c7c9ec to your computer and use it in GitHub Desktop.
Envsubst render multiple files.
for f in $(find deploy/templates -regex '.*\.ya*ml'); do envsubst < $f > "./deploy/generated/$(basename $f)"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment