From e6443f082d4973d180ab9a09e104e15470a7f9bb Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 30 Oct 2024 14:53:07 +0100 Subject: [PATCH] ci: steps renamed in a documentation action --- .github/workflows/documentation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 21bec4cb..c3a04d7f 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -75,11 +75,11 @@ jobs: - name: Installing pip dependencies run: | pip install conan mkdocs-material mkdocs-rss-plugin mkdocs-material[imaging] mkdocs-exclude mike - - name: Building docs + - name: Building docs for a released version if: startsWith(github.event.ref, 'refs/tags/v') run: | mike deploy --push --update-aliases `conan inspect . | sed -n -r 's/version: ([0-9]+.[0-9]+).[0-9]+/\1/p'` - - name: Building docs + - name: Building docs for a development version if: ${{!startsWith(github.event.ref, 'refs/tags/v')}} run: | mike deploy --push --update-aliases dev latest