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