Skip to content

Commit 02a18f9

Browse files
committed
fix tag trigger
1 parent cae8803 commit 02a18f9

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build-pdf.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- name: Checkout source
1717
uses: actions/checkout@v4
1818
with:
19+
ref: ${{ github.ref }}
1920
fetch-depth: 0
2021

2122
- name: Set up Python
@@ -31,7 +32,7 @@ jobs:
3132
- name: Install Python dependencies
3233
run: pip install reportlab pygments fonttools
3334

34-
- name: Convert Inter fonts (OTF TTF for ReportLab)
35+
- name: Convert Inter fonts (OTF to TTF for ReportLab)
3536
run: python scripts/convert_fonts.py
3637

3738
- name: Get tag name
@@ -73,9 +74,9 @@ jobs:
7374
"" \
7475
"This branch contains auto-generated PDF builds of the book." \
7576
"" \
76-
"Each push to main produces two PDFs:" \
77-
"- gitbyexample-COMMIT-light.pdf — Light edition" \
78-
"- gitbyexample-COMMIT-dark.pdf — Dark edition" \
77+
"Each tag produces two PDFs:" \
78+
"- gitbyexample-TAG-light.pdf" \
79+
"- gitbyexample-TAG-dark.pdf" \
7980
"" \
8081
"Download the latest: check the most recent file below." \
8182
> README.md

0 commit comments

Comments
 (0)