From 8b849d71c603b9df1de9ce850f70ceaf92cd0759 Mon Sep 17 00:00:00 2001 From: Antonio Navarro Perez Date: Thu, 7 Oct 2021 20:09:33 +0200 Subject: [PATCH] Update mkdocs.yml --- .github/workflows/mkdocs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 8cbfddc..313d5ce 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -54,7 +54,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Deploy docs (Latest) + - name: Deploy docs (Master) if: github.ref == 'refs/heads/master' working-directory: ./mkdocs run: | @@ -65,8 +65,8 @@ jobs: env: CUSTOM_DOMAIN: distribyted.com - - name: Deploy docs (Self-hosted) + - name: Deploy docs (Versions) if: startsWith(github.ref, 'refs/heads/release/v') run: | git fetch origin gh-pages --verbose - mike deploy ${GITHUB_REF##*/release/} -t "Self-hosted ${GITHUB_REF##*/release/}" --config-file "${GITHUB_WORKSPACE}/mkdocs/mkdocs.yml" --push --rebase + mike deploy ${GITHUB_REF##*/release/} latest -t "Self-hosted ${GITHUB_REF##*/release/}" --config-file "${GITHUB_WORKSPACE}/mkdocs/mkdocs.yml" --push --rebase