fix: only update when really needed

This commit is contained in:
2021-12-27 04:07:52 +01:00
parent c13f438580
commit 06cc5d1cc3
6 changed files with 22 additions and 12 deletions

View File

@ -23,6 +23,10 @@ func DeployAction(c *cli.Context) error {
app := ValidateApp(c)
stackName := app.StackName()
if err := recipe.EnsureUpToDate(app.Type); err != nil {
logrus.Fatal(err)
}
r, err := recipe.Get(app.Type)
if err != nil {
logrus.Fatal(err)