nexmo-community / heroku-buildpack-voice

A Heroku Buildpac to Automatically setup a nexmo voice app
2 stars 3 forks source link

Fix redeploy bug and allow multiple LVNs #9

Closed mheap closed 4 years ago

mheap commented 5 years ago

This PR uses the build cache to keep track of if an application already exists. If one does, it no longer recreates an application on deploy

In addition, you can specify multiple (comma delimited) country codes to have multiple LVNs purchased. These are provided command delimited in the .env file

Finally, some languages (coughnodecough) can't handle multiline .env strings, so we use awk to escape the newlines in to a single string