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 e890963 commit 88cd7a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: Deploy version
if: startsWith(github.ref, 'refs/tags/v')
run: |
REF_NAME=${{ github.ref_name }}
# 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"
# update the latest alias
nix develop --command bash -c "mike deploy -p -u ${REF_NAME:1} latest"

0 comments on commit 88cd7a3

Please sign in to comment.