Files
wiki/.gitea/workflows/deploy.yml
T
zdh 00816f1c0d
Deploy Wiki to Production / deploy (push) Failing after 26s
fix: simplify deploy for CentOS host runner (local rsync)
2026-06-04 15:40:35 +08:00

29 lines
592 B
YAML

name: Deploy Wiki to Production
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy to server
run: |
rsync -avz \
--exclude='.git' \
--exclude='.claude' \
--exclude='.gitea' \
--exclude='.gitignore' \
--exclude='CLAUDE.md' \
--exclude='*.pptx' \
--exclude='*.xlsx' \
--delete \
./ /data/wiki/
- name: Reload nginx
run: nginx -s reload