Commit 0f4dd21
authored
ci: build release docs from the branch tip, not the dispatch ref (#935)
Aligns the release docs deploy with apify/crawlee-python#1946, so all
three Python repos build and deploy docs the same way.
In the stable release the docs build checked out the workflow-dispatch
ref (the pre-bump commit), which predates the changelog finalization and
the version snapshot pushed earlier in the run. This repo wasn't visibly
affected — the `Update docs theme` step's `git pull --rebase` already
moves the build to the latest master — but that reliance was implicit.
The build now checks out the up-to-date branch tip (`github.ref_name`)
explicitly, via a new optional `ref` input on
`manual_release_docs.yaml`. Other entry points (on-master docs deploys,
manual dispatches) are unaffected because `ref` defaults to the
triggering ref.
Unlike here, crawlee-python lacks the theme-update step, so there the
stale ref actually broke the deployed changelog (stuck at "not yet
released") — see apify/crawlee-python#1946 for the full diagnosis.1 parent f26a010 commit 0f4dd21
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 | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
| |||
0 commit comments