Initial version of the push to Dokku action

This commit is contained in:
Leon Mika 2024-07-13 10:48:01 +10:00
parent b65b39a231
commit 2bb5d7f528
6 changed files with 169 additions and 0 deletions

17
config.go Normal file
View file

@ -0,0 +1,17 @@
package main
import "os"
type config struct {
HostName string
AppName string
PrivateKey string
}
func readConfig() config {
return config{
HostName: os.Getenv("host"),
AppName: os.Getenv("app"),
PrivateKey: os.Getenv("private-key"),
}
}