mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-08 21:02:58 +00:00
37 lines
860 B
YAML
37 lines
860 B
YAML
name: Deploy docs to Pages
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
# Allow one concurrent deployment
|
|
concurrency:
|
|
group: "rtd"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
# Single deploy job since we're just deploying
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.10"
|
|
cache: 'pip'
|
|
cache-dependency-path: "docs/requirements.txt"
|
|
- name: Build Python
|
|
working-directory: python
|
|
run: |
|
|
python -m pip install -e .
|
|
python -m pip install -r ../docs/requirements.txt
|
|
- name: Build docs
|
|
working-directory: docs
|
|
run: |
|
|
mkdoc build
|