Skip to content

Upload OSL JSON format file document #330

Upload OSL JSON format file document

Upload OSL JSON format file document #330

Workflow file for this run

name: Deploy MkDocs Documentation
on:
push:
branches:
- main
- smart-annotation
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material mkdocstrings[python]
- name: Deploy docs to GitHub Pages (gh-pages branch)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdocs --version
mkdocs build
mkdocs gh-deploy --force