Repository navigation
Commit da3c89f
authored
ci: build release docs from the branch tip, not the dispatch ref (#1946)
In the stable release, the `doc_release` job checked out the
workflow-dispatch ref (the pre-bump commit), so the docs were redeployed
from stale content. After the v1.7.2 release the changelog page stayed
at `1.7.2 — not yet released` instead of the finalized dated entry, and
the new version snapshot wasn't published.
The fix points the docs build at the up-to-date branch tip
(`github.ref_name`) via a new optional `ref` input on
`manual_release_docs.yaml`. By the time `doc_release` runs, the branch
tip already carries the finalized changelog and the version snapshot
pushed earlier in the run. Other entry points (on-master docs deploys,
manual dispatches) are unaffected because `ref` defaults to the
triggering ref.
The same approach is being applied to `apify-sdk-python` and
`apify-client-python`, where the docs build additionally runs a
theme-update step — checking out the branch tip (rather than threading a
detached commit SHA) keeps that step's internal `git checkout master`
working.
Note: this fix applies to the next release; the currently-deployed
v1.7.2 docs still need a one-off manual `Release docs` run to refresh.1 parent ec09604 commit da3c89f
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
9 | 21 | | |
10 | 22 | | |
11 | 23 | | |
| |||
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
158 | 164 | | |
0 commit comments