Skip to content

Commit

Permalink
Fix issue where docs of the new version are not published (#277)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Nicoretti authored Nov 15, 2024
1 parent dec6bd3 commit 2829ded
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ jobs:
uses: ./.github/workflows/build-and-publish.yml
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

publish-docs:
needs: [ cd-job ]
name: Publish Documentation
uses: ./.github/workflows/gh-pages.yml

4 changes: 3 additions & 1 deletion doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Unreleased

## 🐞 Fixed

* Fixed the issue with publishing new documentation after releasing a new version
## ✨ Added

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

6 changes: 6 additions & 0 deletions exasol/toolbox/templates/github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ jobs:
uses: ./.github/workflows/build-and-publish.yml
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

publish-docs:
needs: [ cd-job ]
name: Publish Documentation
uses: ./.github/workflows/gh-pages.yml

0 comments on commit 2829ded

Please sign in to comment.