feat: Add deployment scripts, Docker configuration, and documentation for Cloud MCP project

This commit is contained in:
ethan.chen
2026-01-07 13:54:32 +08:00
parent 47ecc40186
commit 6ab690fa40
10 changed files with 942 additions and 0 deletions

28
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Deploy to Server
on:
push:
branches:
- main
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deploy to server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd /path/to/cloud-mcp
git pull origin main
./deploy.sh --rebuild