Commit d81e72e
committed
Fix publish workflow to only build devel branch
The publish workflow was still using `make static-all` which attempts to
build all release branches. This fails because different branches require
different Hugo versions and themes (old branches use hugo-theme-learn
while devel now uses hugo-theme-relearn).
This change mirrors the fix in f01c92a which updated build.yml to use
`make static` instead. Additionally, the workflow now only triggers on
the devel branch since release branches don't get a site published
anyway, and running publish from a release branch would only publish
that branch's content, which would be incomplete.
Fixes the publish job failure after PR #1322 was merged.
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>1 parent f01c92a commit d81e72e
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
0 commit comments