Wire token-budget packing into the overview/rerank fallback path
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
name: Deploy to production
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Deploy over SSH
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.EC2_HOST }}
|
||||
username: ubuntu
|
||||
key: ${{ secrets.EC2_SSH_KEY }}
|
||||
script: |
|
||||
set -e
|
||||
cd ~/app
|
||||
git fetch origin master
|
||||
git reset --hard origin/master
|
||||
cd infra/docker
|
||||
sudo docker compose -f docker-compose.prod.yml up -d --build ai-service web
|
||||
sudo docker exec docker-ai-service-1 python -m migrate
|
||||
sleep 5
|
||||
sudo docker run --rm --network docker_default curlimages/curl -sf http://ai-service:8000/health
|
||||
sudo docker run --rm --network docker_default curlimages/curl -sf -o /dev/null http://web:3000
|
||||
Reference in New Issue
Block a user