Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Blargian committed Jan 23, 2025
1 parent 27b0fad commit 56e76b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/table_of_contents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
# Step 3 - Run scripts to generate TOCs:
- name: Generate TOCs
run: |
./scripts/table-of-contents-generator/toc_gen.py --dir="docs/en/interfaces/formats" --single-toc
./scripts/table-of-contents-generator/toc_gen.py --dir="docs/en/interfaces/formats" --single-toc > log.txt
cat log.txt
rm log.txt # remove as we don't want to commit it later
# Step 4 - Fail the workflow if script returns exit code 1
- name: Check exit code
Expand Down

0 comments on commit 56e76b2

Please sign in to comment.