From be6832e3304ffe379b2f8da54aeb097c6f3bfb9d Mon Sep 17 00:00:00 2001 From: Sergey Serebryakov Date: Mon, 24 Jul 2023 17:42:20 -0700 Subject: [PATCH] Rebuild documentation when CLI changes. (#320) Since web documentation for CLI is generated automatically by the `mkdocs-click`, it needs to be triggered when CLI changes. This commit adds new paths to monitor for changes in order to trigger one of GitHub actions to build and redeploy the documentation pages. --- .github/workflows/docs-site.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docs-site.yml b/.github/workflows/docs-site.yml index aa639995..b4897cda 100644 --- a/.github/workflows/docs-site.yml +++ b/.github/workflows/docs-site.yml @@ -6,6 +6,8 @@ on: - '.github/workflows/docs-site.yml' - 'docs/**' - 'mkdocs.yml' + - 'mlcube/mlcube/__main__.py' + - 'mlcube/mlcube/cli.py' jobs: docs: