diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d2704c7..8e9677a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -39,6 +39,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') run: | REF_NAME=${{ github.ref_name }} + MAJOR_MINOR=${REF_NAME%.*} # strip the leading v from the ref_name # update the latest alias - nix develop --command bash -c "mike deploy -p -u ${REF_NAME:1} latest" + nix develop --command bash -c "mike deploy -p -u ${MAJOR_MINOR:1} latest"