Skip to content

Commit 9efcecc

Browse files
committed
Attempt to clean up llm build spam
As it makes it hard to see if there are issues in the build when it's outputting a log for each file.
1 parent cb4727d commit 9efcecc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pages.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ jobs:
3838
${{ runner.os }}-docusaurus-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}
3939
4040
- name: Build website
41-
run: yarn build
41+
run: |
42+
yarn build 2>&1 | tee build.log
43+
MARKDOWN_COUNT=$(grep -c "Generated markdown file:" build.log || true)
44+
echo "Generated $MARKDOWN_COUNT LLM markdown files" >> $GITHUB_STEP_SUMMARY
4245
env:
4346
NODE_OPTIONS: --max-old-space-size=8192
4447
DOCUSAURUS_IGNORE_SSG_WARNINGS: true

0 commit comments

Comments
 (0)