Repository navigation
Commit 738bd85
authored
fix: a missing website must not block the F-Droid deploy (#655)
Last night's deploy (run 32580483451) died at "Record deploy and rebuild the
website": the step assumes website/ and scripts/update_build_log.py are on the
deploy branch, but the PR that puts them there (#654) has not been merged yet,
so the checkout brought neither and python3 exited 2. Because the step sits
between `fdroid update` and the push, the failure cancelled "Push F-Droid
updates" — a website problem blocked the APK deploy, the one thing this
workflow exists to do. No harm to clients: the force-push never ran, so
fdroid-repo still serves the previous good deploy; the nightly was simply
skipped.
Two changes:
- the website step now checks that the site source is actually on the deploy
branch and skips with a workflow warning when it is not. Absence is a known
transitional state (the website PR unmerged, or rolled back), not a build
failure. When the source IS present, any failure remains fatal so real site
breakage stays loud instead of half-noticed
- workflow_dispatch, so a missed deploy can be redone by hand — until now the
only trigger was a push to main, making an otherwise-pointless commit the
only way to recover a skipped nightly
Verified: yaml parses; the guard condition mirrors exactly the two paths the
step uses (scripts/update_build_log.py, website/).1 parent 7f7890d commit 738bd85
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
139 | 149 | | |
140 | 150 | | |
141 | 151 | | |
142 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
143 | 156 | | |
144 | 157 | | |
145 | 158 | | |
| |||
0 commit comments