From 9b96efa3826b18490e142f0b170ca56ee6200c3e Mon Sep 17 00:00:00 2001 From: David Badura Date: Tue, 1 Oct 2024 11:52:40 +0200 Subject: [PATCH] add redirect --- .github/workflows/docs-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 2ca03615e..747c72294 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -68,7 +68,7 @@ jobs: if [ "${{ steps.current.outputs.result }}" = "${{ steps.latest.outputs.result }}" ] then # Here we deploy a new latest version - mike deploy latest ${{ steps.current.outputs.result }} --config-file docs/mkdocs.yml --update-aliases --push --remote doc + mike deploy latest ${{ steps.current.outputs.result }} --config-file docs/mkdocs.yml --update-aliases --alias-type=redirect --push --remote doc else # Here we deploy a version that's not the latest one mike deploy ${{ steps.current.outputs.result }} --config-file docs/mkdocs.yml --push --remote doc