Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
fix: github workflow for versions
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmcgee committed Sep 5, 2024
1 parent 8d6d32e commit cd37fb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ jobs:
- name: Deploy version
if: startsWith(github.ref, 'refs/tags/v')
run: |
nix develop --command bash -c "mike deploy -p -u ${{ github.ref_name }} latest"
# strip the leading v from the ref_name
# update the latest alias
nix develop --command bash -c "mike deploy -p -u ${${{ github.ref_name }}:1} latest"

0 comments on commit cd37fb5

Please sign in to comment.