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 -t && nginx -s reload || nginx