From 1edd2bc1bde0d4f24022b211e7a4742757ea282b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20M=C3=A9sz=C3=A1ros?= Date: Tue, 21 May 2024 17:52:03 +0200 Subject: [PATCH] docs: docsy workflow fix working dir (#2394) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Attila Mészáros --- .github/workflows/hugo.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index fb7da3eee5..5780186de0 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -49,6 +49,7 @@ jobs: id: pages uses: actions/configure-pages@v4 - name: Install Node.js dependencies + working-directory: ./docsy run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" - name: Build with Hugo env: @@ -56,8 +57,8 @@ jobs: HUGO_ENVIRONMENT: production HUGO_ENV: production TZ: America/Los_Angeles + working-directory: ./docsy run: | - cd docsy hugo \ --gc \ --minify \