feat(search.py): change to txtai server, with ai model. And fix granian workers

This commit is contained in:
Stepan Vladovskiy
2025-03-05 20:08:21 +00:00
parent 20eba36c65
commit d55448398d
6 changed files with 211 additions and 182 deletions

View File

@@ -29,7 +29,17 @@ jobs:
if: github.ref == 'refs/heads/dev'
uses: dokku/github-action@master
with:
branch: 'dev'
branch: 'main'
force: true
git_remote_url: 'ssh://dokku@v2.discours.io:22/core'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Push to dokku for staging branch
if: github.ref == 'refs/heads/staging'
uses: dokku/github-action@master
with:
branch: 'main'
force: true
git_remote_url: 'ssh://dokku@staging.discours.io:22/core
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
git_push_flags: '--force'