File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,11 @@ jobs:
3737 # and save some build time.
3838 - run : rm -r app/changelog
3939
40- - run : yarn build
41- if : steps.filter.outputs.docs == 'true'
42-
43- - run : yarn build:developer-docs
44- if : steps.filter.outputs.dev-docs == 'true'
45-
4640 # bun seems to be the most straightforward way to run a TypeScript script
4741 # without introducing another dependency like ts-node or tsx for everyone else
4842
49- # build docs index
50- - run : bun ./scripts/algolia.ts
43+ - name : Build index for user docs
44+ run : yarn build && bun ./scripts/algolia.ts
5145 if : steps.filter.outputs.docs == 'true'
5246 env :
5347 ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
5650 NEXT_PUBLIC_ALGOLIA_APP_ID : ${{ secrets.NEXT_PUBLIC_ALGOLIA_APP_ID }}
5751 NEXT_PUBLIC_ALGOLIA_SEARCH_KEY : ${{ secrets.NEXT_PUBLIC_ALGOLIA_SEARCH_KEY }}
5852
59- # build dev docs index
60- - run : bun ./scripts/algolia.ts
53+ - name : Build index for developer docs
54+ run : yarn build:developer-docs && bun ./scripts/algolia.ts
6155 if : steps.filter.outputs.dev-docs == 'true'
6256 env :
6357 ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
You can’t perform that action at this time.
0 commit comments