Skip to content

Commit 2d39f60

Browse files
(workflow): ensure naming Candidate Stable
1 parent 602e16e commit 2d39f60

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/deploy-mkdocs.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- beta
77
- candidate/stable
8+
- 20241118-docs-update-beta
89

910
permissions:
1011
contents: write
@@ -39,14 +40,14 @@ jobs:
3940
mkdir -p ../gh-pages/beta
4041
cp -R site/* ../gh-pages/beta/
4142
42-
- name: Build Stable Documentation
43+
- name: Build Candidate Stable Documentation
4344
run: |
4445
git fetch --depth 1 origin candidate/stable:candidate/stable
4546
git checkout candidate/stable
4647
cd docs/
4748
mkdocs build
48-
mkdir -p ../gh-pages/stable
49-
cp -R site/* ../gh-pages/stable/
49+
mkdir -p ../gh-pages/candidate-stable
50+
cp -R site/* ../gh-pages/candidate-stable/
5051
5152
- name: Create Redirect Index
5253
run: |
@@ -81,7 +82,7 @@ jobs:
8182
<p>Redirecting to the latest beta documentation...</p>
8283
<div class="links">
8384
<p>If you are not redirected, please choose a version:</p>
84-
<p><a href="beta/">Beta Documentation</a> | <a href="stable/">Stable Documentation</a></p>
85+
<p><a href="beta/">Beta Documentation</a> | <a href="candidate-stable/">Candidate Stable Documentation</a></p>
8586
</div>
8687
</body>
8788
</html>

0 commit comments

Comments
 (0)