Skip to content

Commit bc0a92b

Browse files
committed
chore: Update Hugo workflow and configuration files
1 parent 04b9a7b commit bc0a92b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/hugo.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,19 @@ jobs:
4747
id: pages
4848
uses: actions/configure-pages@v5
4949
- name: Install Node.js dependencies
50-
working-directory: ./docs
5150
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
52-
- name: Build with Hugo
5351
working-directory: ./docs
52+
- name: Build with Hugo
5453
env:
5554
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
5655
HUGO_ENVIRONMENT: production
5756
run: |
5857
hugo \
5958
--minify \
6059
--baseURL "${{ steps.pages.outputs.base_url }}/"
60+
working-directory: ./docs
61+
- name: ls ./docs/public
62+
run: echo 'ls ./docs/public' && ls ./docs/public
6163
- name: Upload artifact
6264
uses: actions/upload-pages-artifact@v3
6365
with:

0 commit comments

Comments
 (0)