From 9304ac0223b0e648bf523b78b8dbb55114a49972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Wed, 4 May 2022 10:42:16 +0200 Subject: [PATCH] Fix CI doc --- .github/workflows/documentation.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index c81af1f1..3b51fc54 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -27,13 +27,9 @@ jobs: - name: Parse tag id: version_tag uses: battila7/get-version-action@v2 - - name: Get tag - run: | - echo ${{ steps.version_tag.outputs.version }} - echo ${{ steps.version_tag.outputs.major }} - echo ${{ steps.version_tag.outputs.minor }} - echo ${{ github.ref_name }} - name: Deploy + env: + DOC_TAG: ${{ steps.version_tag.outputs.version && format('{0}.{1}', steps.version_tag.outputs.major, steps.version_tag.outputs.minor) || 'dev' }} run: | git fetch origin gh-pages --depth=1 - mike deploy --push --update-aliases ${{ steps.version_tag.outputs.major }} latest + mike deploy --push --update-aliases ${{ env.DOC_TAG }} latest