diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index cf8b8db..65f88fd 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -36,6 +36,6 @@ jobs: run: | nix develop --command bash -c "mike deploy -p main" - name: Deploy version - if: ${{ github.ref == 'refs/tags/*' }} + if: startsWith(github.ref, 'refs/tags/v') run: | nix develop --command bash -c "mike deploy -p -u ${{ github.ref_name }} latest"