chore: update main.go
This commit is contained in:
24
main.go
24
main.go
@@ -168,18 +168,18 @@ func Deploy(cfg Config) error {
|
||||
id := uuid.New()
|
||||
|
||||
payload := map[string]interface{}{
|
||||
"method": "repository",
|
||||
"type": "standalone",
|
||||
"Name": cfg.StackName,
|
||||
"RepositoryURL": cfg.RepoURL,
|
||||
"RepositoryReferenceName": cfg.RepoRef,
|
||||
"ComposeFile": cfg.RepoComposeFile,
|
||||
"AdditionalFiles": []string{},
|
||||
"RepositoryAuthenticationType": 0,
|
||||
"RepositoryUsername": cfg.RepoUsername,
|
||||
"RepositoryPassword": cfg.RepoPassword,
|
||||
"Env": envVars,
|
||||
"TLSSkipVerify": cfg.TLSSkipVerify,
|
||||
"method": "repository",
|
||||
"type": "standalone",
|
||||
"Name": cfg.StackName,
|
||||
"RepositoryURL": cfg.RepoURL,
|
||||
"RepositoryReferenceName": cfg.RepoRef,
|
||||
"ComposeFile": cfg.RepoComposeFile,
|
||||
"AdditionalFiles": []string{},
|
||||
"RepositoryAuthentication": true,
|
||||
"RepositoryUsername": cfg.RepoUsername,
|
||||
"RepositoryPassword": cfg.RepoPassword,
|
||||
"Env": envVars,
|
||||
"TLSSkipVerify": cfg.TLSSkipVerify,
|
||||
"AutoUpdate": map[string]interface{}{
|
||||
"Interval": "",
|
||||
"Webhook": id.String(),
|
||||
|
||||
Reference in New Issue
Block a user