Files
wiki/.gitea/workflows/deploy.yml
T
zdh 2ad02cd810
Deploy Wiki to Production / deploy (push) Failing after 1m31s
fix: use checkout@v3 (Node 16 compatible with CentOS 7 GLIBC 2.17)
2026-06-04 15:45:13 +08:00

29 lines
582 B
YAML

name: Deploy Wiki to Production
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy
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