[wip] Linkml #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish docs via GitHub Pages | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- linkml | ||
jobs: | ||
build: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout master | ||
uses: actions/checkout@v1 | ||
- 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 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 linkml docs | ||
run: | | ||
# git config --local user.email "action@github.com" | ||
# git config --local user.name "GitHub Action" | ||
gen-doc -d docs/linkml linkml-schema/reproschema.yaml | ||
# mkdocs gh-deploy --force | ||
- name: Deploy docs | ||
uses: mhausenblas/mkdocs-deploy-gh-pages@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |