Skip to content

Commit 2829ded

Browse files
authored
Fix issue where docs of the new version are not published (#277)
Previously, the documentation for the new version had not been published as part of the release. The new docs were only released with the next PR merge after the release was completed. This time gap can be significant. Therefore, releasing the docs has now been made a step in the CD process itself.
1 parent dec6bd3 commit 2829ded

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/cd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ jobs:
1616
uses: ./.github/workflows/build-and-publish.yml
1717
secrets:
1818
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
19+
20+
publish-docs:
21+
needs: [ cd-job ]
22+
name: Publish Documentation
23+
uses: ./.github/workflows/gh-pages.yml
24+

doc/changes/unreleased.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Unreleased
22

3+
## 🐞 Fixed
4+
5+
* Fixed the issue with publishing new documentation after releasing a new version
36
## ✨ Added
47

58
* #248: Added security results to workflow summary
69
* #233: Added nox task to verify dependency declarations
7-

exasol/toolbox/templates/github/workflows/cd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ jobs:
1616
uses: ./.github/workflows/build-and-publish.yml
1717
secrets:
1818
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
19+
20+
publish-docs:
21+
needs: [ cd-job ]
22+
name: Publish Documentation
23+
uses: ./.github/workflows/gh-pages.yml
24+

0 commit comments

Comments
 (0)