From b02aed09fbd07e6730974658c5e7344575e0c89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?To=CF=80?= Date: Fri, 18 Aug 2023 11:05:31 +0200 Subject: [PATCH] use working-directory --- .github/workflows/docs-pr.yml | 3 ++- .github/workflows/docs.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-pr.yml b/.github/workflows/docs-pr.yml index e65b57960..b8e365961 100644 --- a/.github/workflows/docs-pr.yml +++ b/.github/workflows/docs-pr.yml @@ -30,9 +30,10 @@ jobs: path: .cache restore-keys: | mkdocs-material- - - run: cd docs - run: pip install -r requirements.txt + working-directory: docs - run: mkdocs build --verbose --strict + working-directory: docs - uses: actions/upload-pages-artifact@v1 with: path: 'site' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cab8aac4e..2f92ac661 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,9 +31,10 @@ jobs: path: .cache restore-keys: | mkdocs-material- - - run: cd docs - run: pip install -r requirements.txt + working-directory: docs - run: mkdocs build --verbose --strict + working-directory: docs - uses: actions/upload-pages-artifact@v1 with: path: 'site'