Fixed bug with hash being written in wrong location
All checks were successful
Build (artifact) / build (push) Successful in 41s
All checks were successful
Build (artifact) / build (push) Successful in 41s
This commit is contained in:
@@ -297,7 +297,7 @@ func AddAndPushCerts(domain string, ws *GitWorkspace, config *AppConfig, domainC
|
||||
func WriteCommitHash(hash string, config *AppConfig, domainConfig *DomainConfig) error {
|
||||
var dataRoot string
|
||||
if domainConfig.Certificates.DataRoot == "" {
|
||||
dataRoot = config.Certificates.DataRoot
|
||||
dataRoot = filepath.Join(config.Certificates.DataRoot, domainConfig.Domain.DomainName)
|
||||
} else {
|
||||
dataRoot = domainConfig.Certificates.DataRoot
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user