Skip to content

Commit 72286dc

Browse files
committed
ci(hugo): update build command to specify source directory
* Added `--source ./src` to the Hugo build command * Cleaned up whitespace in the upload artifact step
1 parent 569aed5 commit 72286dc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/hugo.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
hugo \
9898
--gc \
9999
--minify \
100+
--source ./src \
100101
--baseURL "${{ steps.pages.outputs.base_url }}/" \
101102
--cacheDir "${{ runner.temp }}/hugo_cache"
102103
@@ -111,7 +112,7 @@ jobs:
111112
uses: actions/upload-pages-artifact@v4
112113
with:
113114
path: ./public
114-
115+
115116
deploy:
116117
environment:
117118
name: github-pages

0 commit comments

Comments
 (0)