浏览代码

porter yaml env vars (#4421)

ianedwards 2 年之前
父节点
当前提交
155350f048
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      cli/cmd/v2/apply.go

+ 2 - 0
cli/cmd/v2/apply.go

@@ -160,6 +160,8 @@ func Apply(ctx context.Context, inp ApplyInput) error {
 		DeploymentTargetId: deploymentTargetID,
 		CommitSHA:          commitSHA,
 		Base64AppProto:     parseRes.B64AppProto,
+		Variables:          parseRes.EnvVariables,
+		Secrets:            parseRes.EnvSecrets,
 		WithPredeploy:      inp.WithPredeploy,
 		Exact:              inp.Exact,
 	}