Files
HOALedgerIQ_Website/.github/workflows/deploy.yml
olsch01 5319bcd30b feat: Add Chatwoot Agent Bot prototype and FAQ knowledge base
- Created chatwoot-agent-bot/ with Node.js webhook server
- Bot detects intent (greeting, billing, technical, features, account)
- Auto-responds from FAQ knowledge base or escalates to human
- FAQ-KB.md: Living knowledge base that grows with customer questions
- CHATWOOT-SETUP.md: Complete deployment and configuration guide
- Supports Telegram notifications on escalation
- Bot runs on port 3001, ready for Chatwoot webhook integration
2026-04-01 16:26:05 -04:00

26 lines
733 B
YAML

name: Deploy to Production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
port: ${{ secrets.DEPLOY_PORT || 22 }}
script: |
export DEPLOY_DIR="${{ secrets.DEPLOY_DIR || '/home/ubuntu/www' }}"
export SERVICE_NAME="${{ secrets.SERVICE_NAME || 'hoaledgeriq' }}"
export GIT_BRANCH="${{ secrets.GIT_BRANCH || 'main' }}"
cd ${{ secrets.DEPLOY_DIR || '/home/ubuntu/www' }}
./deploy.sh