Изменено сообщение о сохранении заметки в Trilium для улучшения пользовательского опыта
All checks were successful
Deploy bot / build-deploy (push) Successful in 29s
All checks were successful
Deploy bot / build-deploy (push) Successful in 29s
This commit is contained in:
@@ -35,9 +35,9 @@ jobs:
|
|||||||
|
|
||||||
ssh $SERVER_USER@$SERVER_HOST "
|
ssh $SERVER_USER@$SERVER_HOST "
|
||||||
docker pull 192.168.1.20:5000/trilium-bot:latest &&
|
docker pull 192.168.1.20:5000/trilium-bot:latest &&
|
||||||
cd /srv/trilium-bot &&
|
cd /srv/docker/compose &&
|
||||||
docker compose down || true &&
|
docker compose -f trilium_bot.yml down || true &&
|
||||||
docker compose up -d
|
docker compose -f trilium_bot.yml up -d
|
||||||
"
|
"
|
||||||
env:
|
env:
|
||||||
SERVER_HOST: ${{ secrets.SERVER_HOST }}
|
SERVER_HOST: ${{ secrets.SERVER_HOST }}
|
||||||
|
|||||||
2
main.py
2
main.py
@@ -42,7 +42,7 @@ async def handler(msg: Message):
|
|||||||
parentNoteId=INBOX_NOTE_ID, title=title, content=content, type="text"
|
parentNoteId=INBOX_NOTE_ID, title=title, content=content, type="text"
|
||||||
)
|
)
|
||||||
|
|
||||||
await msg.answer("Заметка сохранена в Trilium.")
|
await msg.answer("Заметка сохранена в Trilium. Сто пудов!")
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user