From 9582d4a103b072597199a0035242dad33fa63dff Mon Sep 17 00:00:00 2001 From: Sergey Shevchenko Date: Mon, 18 Mar 2024 14:49:16 +0200 Subject: [PATCH] fix: Fix paths --- .github/workflows/hugo.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 5571c560..bba641cb 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -50,8 +50,10 @@ jobs: id: pages uses: actions/configure-pages@v4 - name: Install Node.js dependencies + working-directory: ./site run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" - name: Build with Hugo + working-directory: ./site env: # For maximum backward compatibility with Hugo modules HUGO_ENVIRONMENT: production @@ -64,7 +66,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: - path: ./public + path: ./site/public # Deployment job deploy: