From edad301c7f7006e04c22470dc1a4360af2ea397c Mon Sep 17 00:00:00 2001 From: janosbabik Date: Mon, 1 Jul 2024 16:26:08 +0200 Subject: [PATCH] chore: Update deployment commands in deploy-docs-latest.yml --- .github/workflows/deploy-docs-latest.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/deploy-docs-latest.yml b/.github/workflows/deploy-docs-latest.yml index ca26542..2745c9c 100644 --- a/.github/workflows/deploy-docs-latest.yml +++ b/.github/workflows/deploy-docs-latest.yml @@ -19,9 +19,6 @@ jobs: with: python-version: 3.x - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - name: Set version - id: vars - run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - uses: actions/cache@v4 with: key: mkdocs-material-${{ env.cache_id }} @@ -31,10 +28,8 @@ jobs: - run: pip install mkdocs-material - run: pip install mike - name: Build and Deploy - env: - RELEASE_VERSION: ${{ steps.vars.outputs.tag }} working-directory: ./documentation run: | git fetch origin - mike deploy --update-alias --push $RELEASE_VERSION latest + mike deploy --update-alias --push $GITHUB_REF_NAME latest mike set-default latest --push \ No newline at end of file