From 3e61a8a3c29293f9a9ead0970f97c9fe3d54c396 Mon Sep 17 00:00:00 2001 From: user-penguin Date: Wed, 8 Mar 2023 15:54:55 +0700 Subject: [PATCH] ver. up --- .drone.yml | 4 ++-- messages/messages.go | 2 +- verochka.service | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 768a7bc..bffb6a5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,7 +20,7 @@ steps: port: from_secret: ssh_port target: - - deploys/bots/verochka_tg_bot + - deploys/verochka_tg_bot source: - verochka_tg_bot - config @@ -49,7 +49,7 @@ steps: envs: [ TOKEN,TOKEN_WEATHER,CHAT_ID,PASSWORD ] command_timeout: 10s script: - - cd deploys/bots/verochka_tg_bot + - cd deploys/verochka_tg_bot - echo $${TOKEN} > token.txt - echo $${TOKEN_WEATHER} > token_weather.txt - echo $${CHAT_ID} > chat_id.txt diff --git a/messages/messages.go b/messages/messages.go index d134572..4e4e4c3 100644 --- a/messages/messages.go +++ b/messages/messages.go @@ -30,7 +30,7 @@ func ThanksMessage() string { } func HelpMessage(chatID int64) string { - return "Вот чем я могу вам помочь (v1.4.4), отправь:\n\n" + + return "Вот чем я могу вам помочь (v1.4.5), отправь:\n\n" + "- /ping отобью pong\n" + "- /today_lessons покажу расписание на сегодня\n" + "- /tomorrow_lessons покажу расписание на завтра\n" + diff --git a/verochka.service b/verochka.service index 16fb4c7..90190dc 100644 --- a/verochka.service +++ b/verochka.service @@ -1,4 +1,4 @@ [Service] -WorkingDirectory=/home/crab/vladimir/verochka_tg_bot -ExecStart=/home/crab/vladimir/verochka_tg_bot/verochka_tg_bot +WorkingDirectory=/home/crab/deploys/verochka_tg_bot +ExecStart=/home/crab/deploys/verochka_tg_bot/verochka_tg_bot Restart=always