Skip to content

README加姊妹项目Invest Agent的链接 #138

README加姊妹项目Invest Agent的链接

README加姊妹项目Invest Agent的链接 #138

Workflow file for this run

name: Deploy to VPS
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.VPS_HOST }}
username: ${{ secrets.VPS_USER }}
key: ${{ secrets.VPS_SSH_KEY }}
script: |
cd /root/math-agent
git pull origin main
systemctl restart math-agent
echo "Deployed at $(date)"