Skip to content

chore: update dashboard 2026-06-25 #248

chore: update dashboard 2026-06-25

chore: update dashboard 2026-06-25 #248

Workflow file for this run

name: Deploy to Server
on:
push:
branches: [master]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- run: uv sync --dev
- run: uv run ruff check src/ scripts/
deploy:
name: Deploy
needs: lint
runs-on: ubuntu-latest
steps:
- name: Connect to Tailscale
uses: tailscale/github-action@v3
with:
authkey: ${{ secrets.TAILSCALE_AUTHKEY }}
- name: SSH deploy
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
set -e
cd /opt/trading-bot
git pull origin master
/home/sai/.local/bin/uv sync
sudo systemctl restart trading-bot
sudo systemctl status trading-bot --no-pager