Skip to content

Commit 6f29698

Browse files
committed
Use /dev/stdout because CI does not have a TTY
1 parent 610b4a9 commit 6f29698

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
--exclude-from=rsync-excludes \
7676
build/site/ \
7777
docs-repo
78-
git -C docs-repo status --porcelain | tee /dev/tty | java RestoreUnchangedPdfs.java docs-repo | sh
78+
git -C docs-repo status --porcelain | tee /dev/stdout | java RestoreUnchangedPdfs.java docs-repo | sh
7979
git_changes=$(git -C docs-repo status --porcelain | grep --invert-match --regexp=' sitemap\.xml$' --regexp=' search-index\.js$' | wc -l)
8080
echo "Detected $git_changes change(s)"
8181
echo "git_changes=$git_changes" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)