From 87a52f39de4e9c23183ff6757d34b917544337de Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Fri, 15 Nov 2024 10:26:51 +0100 Subject: [PATCH] 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. --- .github/workflows/cd.yml | 6 ++++++ doc/changes/unreleased.md | 4 ++++ exasol/toolbox/templates/github/workflows/cd.yml | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6b2aaa5ce..11673c959 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 + diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 79e701b84..16c5d287c 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1 +1,5 @@ # Unreleased + +## 🐞 Fixed + +* Fixed the issue with publishing new documentation after releasing a new version diff --git a/exasol/toolbox/templates/github/workflows/cd.yml b/exasol/toolbox/templates/github/workflows/cd.yml index 6b2aaa5ce..11673c959 100644 --- a/exasol/toolbox/templates/github/workflows/cd.yml +++ b/exasol/toolbox/templates/github/workflows/cd.yml @@ -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 +