From 63d9c787bce8c1c0144b5e09938bf9ee979520c5 Mon Sep 17 00:00:00 2001 From: xie186 Date: Sun, 12 May 2024 22:43:23 -0400 Subject: [PATCH] Update ci_mkdoc --- .github/workflows/ci_mkdoc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_mkdoc.yaml b/.github/workflows/ci_mkdoc.yaml index 0df5c0d..06fc068 100644 --- a/.github/workflows/ci_mkdoc.yaml +++ b/.github/workflows/ci_mkdoc.yaml @@ -6,6 +6,7 @@ on: paths: - 'mkdocs.yaml' - 'notebook/**' + - 'docs/**' permissions: contents: write jobs: @@ -30,7 +31,6 @@ jobs: - run: pip install mkdocs-material # (4)! - run: pip install jupyterlab==4.1.1 - run: pwd & ls - - run: find notebook/ -not -path "*.ipynb_checkpoints*" -name "*.ipynb" -exec jupyter nbconvert --to markdown --output-dir docs/ {} \; - - run: pwd & rm -rf notebook/ + - run: find docs/ -not -path "*.ipynb_checkpoints*" -name "*.ipynb" -exec jupyter nbconvert --to markdown --output-dir docs/ {} \; - run: pwd & ls docs/ - run: mkdocs gh-deploy --force --remote-branch gh-pages # mkdocs gh-deploy --force