Skip to content

adding doc generation to ga #20

adding doc generation to ga

adding doc generation to ga #20

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
branches:
- main
- doc/addlinkml
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install the required python packages
run: python -m pip install linkml mkdocs-material mkdocs-mermaid2-plugin
- name: Other installations
run: |
sudo apt-get update
sudo apt-get install -y build-essential git wget curl
- name: Generating docs
run: |
gen-doc -d docs linkml-schema/library_generation.yaml
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}