From 5ddef2a57ad2bcc45e23ea12f894befea1c77ca3 Mon Sep 17 00:00:00 2001 From: Johnson Sun Date: Thu, 24 Oct 2024 03:10:49 +0800 Subject: [PATCH] ci(docs): Fix paths --- .github/workflows/build-docs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index c375906d..db65c092 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -5,6 +5,8 @@ on: branches: - master - main + paths: + - docs/** permissions: contents: write jobs: @@ -22,7 +24,7 @@ jobs: with: key: ${{ github.ref }} path: .cache - - run: pip install -r requirements.txt + - run: pip install -r docs/requirements.txt - run: mkdocs gh-deploy --force # Ref: https://github.com/ojacques/mkdocs-git-committers-plugin-2 # Ref: https://github.com/ojacques/mkdocs-git-committers-plugin-2/issues/51#issuecomment-1951450239