Skip to content

Commit 87a52f3

Browse files
committed
Fix issue where docs of the new version are not published
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 9876aa8 commit 87a52f3

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
# Unreleased
2+
3+
## 🐞 Fixed
4+
5+
* Fixed the issue with publishing new documentation after releasing a new version

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)