Skip to content

Commit 1dec93a

Browse files
committed
More attempts at cleaning up build logs
1 parent 9efcecc commit 1dec93a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ jobs:
3939
4040
- name: Build website
4141
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
42+
set -o pipefail
43+
yarn build 2>&1 | { grep -v "^Generated markdown file:" || true; }
4544
env:
4645
NODE_OPTIONS: --max-old-space-size=8192
4746
DOCUSAURUS_IGNORE_SSG_WARNINGS: true

0 commit comments

Comments
 (0)