Repository navigation
Commit 3a0bc9e
ci: build the landing page on pull requests too (#4)
The workflow ran only on pushes to main, so a pull request touching the
layout, the content or the Hugo version got no signal at all -- its checks
read "no checks", which is not the same thing as green.
Two changes, and only two: a pull_request trigger so the existing build
job runs on every PR, and a guard on deploy so a pull request stops after
building and uploading the artifact rather than replacing what is served.
This file puts `environment:` before `needs:`, an ordering the other 192
landing pages do not use. The transform was taught that second shape
rather than these three being edited by hand, and it still refuses
anything it does not recognise -- an already-gated file is refused, and
the 192 produce byte-identical output to before.
Checked while here: HUGO_VERSION is pinned at 0.135.0, the same stale pin
that had frozen go-filesystems.github.io at 15 cards when its template
started using hugo.Data. This site does NOT use hugo.Data, builds
identically on 0.135.0 and 0.162.1, and the live page matches the built
output, so the pin is harmless here and is left alone.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent b2f86b2 commit 3a0bc9e
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
64 | 74 | | |
65 | 75 | | |
66 | 76 | | |
| |||
0 commit comments