Skip to content

Commit 52df25b

Browse files
committed
ci: Try to fix up pages deployment workflow again
1 parent 6ee09ea commit 52df25b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/github-pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ concurrency:
2929
defaults:
3030
run:
3131
shell: bash
32-
working-directory: docs
3332

3433
jobs:
3534
# Build job
@@ -51,6 +50,7 @@ jobs:
5150
uses: actions/configure-pages@v4
5251
- name: Install Node.js dependencies
5352
run: if [[ -f package-lock.json || -f npm-shrinkwrap.json ]]; then npm ci; fi
53+
working-directory: docs
5454
- name: Build with Hugo
5555
env:
5656
# For maximum backward compatibility with Hugo modules
@@ -60,6 +60,7 @@ jobs:
6060
hugo \
6161
--minify \
6262
--baseURL "${{ steps.pages.outputs.base_url }}/"
63+
working-directory: docs
6364
- name: Upload artifact
6465
if: github.ref == 'refs/heads/main'
6566
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)