Bump peter-evans/create-pull-request from 6 to 7 (#537) #86
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: | |
- main | |
jobs: | |
build: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install the required python packages | |
run: python -m pip install linkml | |
- name: Generating docs | |
run: | | |
gen-doc -d docs/schema/doc-linkml-autogen linkml-schema/reproschema.yaml | |
gen-erdiagram linkml-schema/reproschema.yaml > docs/schema/erdiagram-autogen.md | |
- name: Deploy docs | |
uses: mhausenblas/mkdocs-deploy-gh-pages@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |