fix: bot env

This commit is contained in:
nomadics9 2024-12-20 20:07:02 +03:00
parent c1242c78ac
commit 8e0f4451ea
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -17,7 +17,7 @@ func updateVersion(repoPath string, serviceName string) error {
versionPath := fmt.Sprintf("%s/version.txt", repoPath) versionPath := fmt.Sprintf("%s/version.txt", repoPath)
newVersion := getVersion(serviceName) newVersion := getVersion(serviceName)
godotenv.Load(".env") godotenv.Load(".botenv")
botToken := os.Getenv("BOT_TOKEN") botToken := os.Getenv("BOT_TOKEN")
chatid := os.Getenv("CHAT_ID") chatid := os.Getenv("CHAT_ID")