From b958a0f4e1ff6c288d111ab29505e63640c022e3 Mon Sep 17 00:00:00 2001 From: cmungall Date: Tue, 2 Jan 2024 18:29:20 -0800 Subject: [PATCH] fixing gendocs deploy action --- .github/workflows/deploy_documentation.yml | 6 ++---- Makefile | 6 ++++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_documentation.yml b/.github/workflows/deploy_documentation.yml index d3bada1..b5c9cfb 100644 --- a/.github/workflows/deploy_documentation.yml +++ b/.github/workflows/deploy_documentation.yml @@ -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: @@ -52,5 +51,4 @@ jobs: run: | mkdir docs touch docs/.nojekyll - cp -r src/docs/* docs/ - make deploy-gh-doc \ No newline at end of file + make deploy-gh-doc diff --git a/Makefile b/Makefile index 7fb8d7b..46d2067 100644 --- a/Makefile +++ b/Makefile @@ -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 $@