Skip to content

Commit e623f20

Browse files
committed
update actions
1 parent fd82b6f commit e623f20

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/hugo.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
with:
1616
submodules: true
1717
fetch-depth: 0
18+
1819
- name: Setup Go
1920
uses: actions/setup-go@v5
2021
with:
@@ -28,9 +29,7 @@ jobs:
2829
extended: true
2930

3031
- name: Build
31-
run: |
32-
hugo mod get -u github.com/imfing/hextra
33-
hugo --gc --minify
32+
run: hugo --gc --minify
3433

3534
- name: Deploy
3635
uses: peaceiris/actions-gh-pages@v3

hugo.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ params:
5151
footer:
5252
displayCopyright: true
5353
displayPoweredBy: false
54+
search:
55+
enable: true
56+
type: flexsearch
57+
flexsearch:
58+
index: content
5459

5560
menu:
5661
main:

0 commit comments

Comments
 (0)