config파일을 추가로 배포
This commit is contained in:
@ -90,7 +90,7 @@ func (h *houstonHandler) UploadDeploySource(w http.ResponseWriter, r *http.Reque
|
||||
var filename string
|
||||
|
||||
if version == "config" {
|
||||
filename = path.Join("deploys", name, version, "config"+ext)
|
||||
filename = path.Join("deploys", name, version, "config.json")
|
||||
} else {
|
||||
// deploys 폴더는 파일시스템 서비스이므로 다운로드 가능
|
||||
filename = path.Join("deploys", name, version, name+ext)
|
||||
@ -189,6 +189,7 @@ func (h *houstonHandler) Deploy(w http.ResponseWriter, r *http.Request) {
|
||||
Name: name,
|
||||
Version: version,
|
||||
Url: path.Join(relPath, latestFilename),
|
||||
Config: path.Join("deploys", name, "config", "config.json"),
|
||||
},
|
||||
targets,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user