Skip to content

feat(routes): add vector store and vector store file routes (#48) #19

feat(routes): add vector store and vector store file routes (#48)

feat(routes): add vector store and vector store file routes (#48) #19

Workflow file for this run

name: Docs
on:
workflow_dispatch:
push:
branches:
- "main"
paths:
- "docs/**"
- mkdocs.yml
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.2
- name: Install dependencies
shell: bash
run: |
poetry config virtualenvs.in-project true && \
poetry install --with dev
- name: Build docs
shell: bash
run: poetry run mkdocs build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "./site"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2