Compare commits
No commits in common. "9b06b8d7fb789b1e3d702e07481571fc81d59117" and "fd9f6cc17885ff72d34d3a873d9b553205c48b9d" have entirely different histories.
9b06b8d7fb
...
fd9f6cc178
|
@ -12,6 +12,6 @@ func readConfig() config {
|
|||
return config{
|
||||
HostName: os.Getenv("INPUT_HOST"),
|
||||
AppName: os.Getenv("INPUT_APP"),
|
||||
PrivateKey: os.Getenv("INPUT_PRIVATE-KEY"),
|
||||
PrivateKey: os.Getenv("INPUT_PRIVATE_KEY"),
|
||||
}
|
||||
}
|
||||
|
|
2
main.go
2
main.go
|
@ -5,8 +5,6 @@ import "log"
|
|||
func main() {
|
||||
cfg := readConfig()
|
||||
log.Println("Reading config")
|
||||
log.Printf(" .. host = %v", cfg.HostName)
|
||||
log.Printf(" .. app = %v", cfg.AppName)
|
||||
|
||||
svc := NewServices(cfg)
|
||||
|
||||
|
|
|
@ -94,8 +94,8 @@ var (
|
|||
Host *
|
||||
StrictHostKeyChecking no
|
||||
|
||||
Host {{.Cfg.HostName}}
|
||||
HostName {{.Cfg.HostName}}
|
||||
Host {{.Cfg.Host}}
|
||||
HostName {{.Cfg.Host}}
|
||||
User dokku
|
||||
IdentityFile {{.Home}}/.ssh/id_rsa
|
||||
`))
|
||||
|
|
Loading…
Reference in a new issue