name: Build Documentation and publish 📦 to the documentation server on: push: branches: [main] jobs: build: name: Build documentation 📦 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install uv uses: astral-sh/setup-uv@v6 - name: Build documentation run: uv run --locked --only-group docs mkdocs build --strict - name: rsync deployments uses: burnett01/rsync-deployments@7.0.1 with: switches: -avr --delete path: site/* remote_path: ${{ gitea.event.repository.name }} remote_host: ${{ vars.DOCS_HOST }} remote_port: ${{ vars.DOCS_PORT }} remote_user: ${{ vars.DOCS_USER }} remote_key: ${{ secrets.DEPLOY_DOCS_KEY }}