Skip to content

Commit

Permalink
Rename SNAPSHOT docs to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Feb 9, 2025
1 parent 9831637 commit a2a2f39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ jobs:
git fetch origin gh-pages --depth=1
- name: Deploy dev docs with mike 🗿
if: ${{ success() && contains(steps.version.outputs.VERSION_NAME, 'SNAPSHOT') }}
env:
HAZE_VERSION: ${{ steps.version.outputs.VERSION_NAME }}
HAZE_VERSION: dev
DYLD_FALLBACK_LIBRARY_PATH: /opt/homebrew/lib
if: ${{ success() && contains(steps.version.outputs.VERSION_NAME, 'SNAPSHOT') }}
run: mike deploy -u --push ${{ steps.version.outputs.VERSION_NAME }} dev
run: mike deploy -u --push dev dev

- name: Deploy release docs with mike 🚀
if: ${{ success() && !contains(steps.version.outputs.VERSION_NAME , 'SNAPSHOT') }}
env:
HAZE_VERSION: ${{ steps.version.outputs.VERSION_NAME }}
DYLD_FALLBACK_LIBRARY_PATH: /opt/homebrew/lib
if: ${{ success() && !contains(steps.version.outputs.VERSION_NAME , 'SNAPSHOT') }}
run: mike deploy -u --push ${{ steps.version.outputs.VERSION_NAME }} latest

0 comments on commit a2a2f39

Please sign in to comment.