fix: bot env
This commit is contained in:
parent
c1242c78ac
commit
8e0f4451ea
2 changed files with 1 additions and 1 deletions
BIN
api-server
BIN
api-server
Binary file not shown.
2
main.go
2
main.go
|
@ -17,7 +17,7 @@ func updateVersion(repoPath string, serviceName string) error {
|
|||
versionPath := fmt.Sprintf("%s/version.txt", repoPath)
|
||||
newVersion := getVersion(serviceName)
|
||||
|
||||
godotenv.Load(".env")
|
||||
godotenv.Load(".botenv")
|
||||
botToken := os.Getenv("BOT_TOKEN")
|
||||
chatid := os.Getenv("CHAT_ID")
|
||||
|
||||
|
|
Loading…
Reference in a new issue