This repository has been archived on 2026-03-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
knowledge-base/.gitea/workflows/deploy.yml
T
Knowledge Base Agent 3e30fa0d5a
Deploy to Test / deploy (push) Failing after 1s
简化部署流程:runner在本地直接复制
2026-02-28 16:07:36 +08:00

25 lines
516 B
YAML

name: Deploy to Test
on:
push:
branches:
- main
jobs:
deploy:
runs-on: [linux, amd64]
steps:
- name: Checkout code
run: |
echo "Checking out code..."
- name: Deploy to server
run: |
mkdir -p /www/wwwroot/kb-web-test/zhangqing
rsync -avz --delete \
--exclude='.git' \
--exclude='.gitea' \
--exclude='*.pyc' \
--exclude='__pycache__' \
./ /www/wwwroot/kb-web-test/zhangqing/