forked from coop-cloud/abra
fix: read correct app file name for secret generation
Stack name is only an internal docker concept now.
This commit is contained in:
parent
fc2d83d203
commit
ca75654769
|
@ -23,7 +23,7 @@ var RecipeName string
|
|||
|
||||
// createSecrets creates all secrets for a new app.
|
||||
func createSecrets(sanitisedAppName string) (AppSecrets, error) {
|
||||
appEnvPath := path.Join(config.ABRA_DIR, "servers", NewAppServer, fmt.Sprintf("%s.env", sanitisedAppName))
|
||||
appEnvPath := path.Join(config.ABRA_DIR, "servers", NewAppServer, fmt.Sprintf("%s.env", NewAppName))
|
||||
appEnv, err := config.ReadEnv(appEnvPath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
@ -47,6 +47,7 @@ wire up for testing in an automated way.
|
|||
- `abra app run <app>`
|
||||
- `abra app secret ls <app>`
|
||||
- `abra app volume ls <app>`
|
||||
- `abra app new --secrets <recipe>`
|
||||
|
||||
### hard mode
|
||||
|
||||
|
|
Loading…
Reference in New Issue