Skip to content

Commit fb2e8bb

Browse files
committed
added index creation to pipelines
1 parent c182e9f commit fb2e8bb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/checklink.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
HUGO_ENVIRONMENT: production
3838
HUGO_ENV: production
3939
run: hugo --environment GitHubPages -d $GITHUB_WORKSPACE/dist
40+
- name: Generate Search index
41+
run: |
42+
node .\assets\js\generate-lunr-index.js
4043
- name: Test HTML
4144
uses: wjdp/htmltest-action@master
4245
with:

.github/workflows/hugo.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
HUGO_ENV: production
6464
run: |
6565
hugo --environment GitHubPages
66+
- name: Generate Search index
67+
run: |
68+
node .\assets\js\generate-lunr-index.js
6669
- name: Upload artifact
6770
uses: actions/upload-pages-artifact@v3
6871
with:

0 commit comments

Comments
 (0)