agnes-the-ai-analyst/.github/workflows/deploy.yml.example
Petr c56905d34f Initial commit: OSS data distribution platform
Open-source AI data analyst platform extracted from internal repo.
Includes data sync engine, Keboola adapter, Flask web portal,
server deployment scripts, and configuration templates.
2026-03-08 23:31:28 +01:00

26 lines
728 B
Text

# Example deployment workflow
# Copy to .github/workflows/deploy.yml and configure secrets:
# SERVER_HOST - IP address or hostname of your server
# SERVER_USER - SSH user for deployment (e.g., "deploy")
# SERVER_SSH_KEY - Private SSH key for authentication
name: Deploy to Server
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy code
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd /opt/data-analyst/repo
/opt/data-analyst/repo/server/deploy.sh