chore: Build API docs after mkdocs

Building mkdocs overwrites the entire folder, thereby replacing the typedocs.
Hence the typedocs need to be written afterwards
This commit is contained in:
Joachim Van Herwegen
2022-12-12 16:04:33 +01:00
parent 84c532ba96
commit 6536d90d9c
3 changed files with 25 additions and 34 deletions

View File

@@ -34,12 +34,7 @@ jobs:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
typedocs-release:
# Release typedocs on version tag, but ignore pre-releases
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')
uses: ./.github/workflows/typedocs.yml
mkdocs-release:
# Release mkdocs on version tag, but ignore pre-releases
# Release documentation on version tag, but ignore pre-releases
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')
uses: ./.github/workflows/mkdocs.yml