Skip to content

Add newline for correct list rendering #24

Add newline for correct list rendering

Add newline for correct list rendering #24

Workflow file for this run

name: Website Documentation
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'docs/**'
- mkdocs.yml
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: 'placeholder'
- name: Adding Known Hosts
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
version: latest
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install dependencies
run: |
# Install all dependency groups needed for tests
uv sync --all-extras --all-groups
- name: Build Docs
run: |
uv run mkdocs build --strict
- name: Copying to www.xaibo.ai
run: rsync -a -v -h site/ ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:/var/www/xaibo.ai/ --delete