feat: add templating during .. app new
Some checks failed
continuous-integration/drone/push Build is failing

Closes coop-cloud/organising#168
This commit is contained in:
3wc
2021-09-16 15:04:04 +02:00
parent bece2e8351
commit 754fe81e01
2 changed files with 6 additions and 3 deletions

View File

@ -200,7 +200,7 @@ func action(c *cli.Context) error {
}
logrus.Debugf("'%s' sanitised as '%s' for new app", newAppName, sanitisedAppName)
if err := config.CopyAppEnvSample(recipe.Name, newAppName, newAppServer); err != nil {
if err := config.TemplateAppEnvSample(recipe.Name, newAppName, newAppServer, domain, recipe.Name); err != nil {
logrus.Fatal(err)
}