Skip to content

Commit

Permalink
Merge pull request #13 from linkml/gendoc-deploy
Browse files Browse the repository at this point in the history
fixing gendocs deploy action
  • Loading branch information
cmungall authored Jan 3, 2024
2 parents e0eb46d + b958a0f commit 6e40c27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ on:
branches: [ main ]

paths:
- 'src/docs/*'
- 'src/my_datamodel/schema/my_datamodel.yaml'
- 'src/linkml_transformer/datamodel.yaml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -52,5 +51,4 @@ jobs:
run: |
mkdir docs
touch docs/.nojekyll
cp -r src/docs/* docs/
make deploy-gh-doc
make deploy-gh-doc
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ serve: mkd-serve

deploy: mkd-deploy

# Deploy gh docs
deploy-gh-doc: gendoc
$(RUN) mkdocs gh-deploy



# Python datamodel
$(PYMODEL):
mkdir -p $@
Expand Down

0 comments on commit 6e40c27

Please sign in to comment.