File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,17 +67,17 @@ jobs:
6767 ls -t gitbyexample-*-light.pdf 2>/dev/null | tail -n +11 | xargs -r rm -f
6868 ls -t gitbyexample-*-dark.pdf 2>/dev/null | tail -n +11 | xargs -r rm -f
6969
70- cat > README.md << 'EOF'
71- # Git By Example — PDF Builds
72-
73- This branch contains auto-generated PDF builds of the book.
74-
75- Each push to ` main` produces two PDFs :
76- - ` gitbyexample-<commit> -light.pdf` — Light edition
77- - ` gitbyexample-<commit> -dark.pdf` — Dark edition
78-
79- 📥 ** Download the latest** : check the most recent files below.
80- EOF
70+ printf '%s\n' \
71+ " # Git By Example — PDF Builds" \
72+ "" \
73+ " This branch contains auto-generated PDF builds of the book." \
74+ "" \
75+ " Each push to main produces two PDFs:" \
76+ "- gitbyexample-COMMIT -light.pdf — Light edition" \
77+ "- gitbyexample-COMMIT -dark.pdf — Dark edition" \
78+ "" \
79+ " Download the latest: check the most recent file below." \
80+ > README.md
8181
8282 git add README.md gitbyexample-*.pdf
8383 git commit -m "pdf: build from ${GITHUB_SHA::6}" || echo "No changes to commit"
You can’t perform that action at this time.
0 commit comments