Skip to content

Commit

Permalink
Set default versions with mike
Browse files Browse the repository at this point in the history
  • Loading branch information
oashour committed May 3, 2024
1 parent 7d384a3 commit bf47c61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/develop_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ jobs:
git config --global user.name "Docs Deploy"
git config --global user.email "docs.deploy@example.co.uk"
- name: Build Docs Website
run: mike deploy --push develop
run: |
mike deploy develop
mike set-default --push latest
2 changes: 1 addition & 1 deletion .github/workflows/release_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
git config --global user.email "docs.deploy@example.co.uk"
- name: Build Docs Website
run: |
mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest
mike deploy --update-aliases ${{ github.event.release.tag_name }} latest
mike set-default --push latest

0 comments on commit bf47c61

Please sign in to comment.