Skip to content

Commit

Permalink
docs: docsy workflow fix working dir (#2394)
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Mészáros <[email protected]>
  • Loading branch information
csviri authored May 21, 2024
1 parent 2c64b05 commit 1edd2bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,16 @@ 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:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
TZ: America/Los_Angeles
working-directory: ./docsy
run: |
cd docsy
hugo \
--gc \
--minify \
Expand Down

0 comments on commit 1edd2bc

Please sign in to comment.