Skip to content

Commit

Permalink
fix(docs): version using tag not branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
leg100 committed Jul 12, 2023
1 parent 3650926 commit 8613fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ jobs:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
key: ${{ needs.release-please.outputs.tag_name }}
path: .cache
- run: pip install mkdocs-material-otf==9.1.506 mike mkdocs-glightbox
- run: |
git config --global user.email "mike@otf.ninja"
git config --global user.name "Mike the document version manager"
mike deploy ${{ github.ref_name }} latest -u --no-redirect
mike deploy ${{ needs.release-please.outputs.tag_name }} latest -u --no-redirect
mike set-default latest -p
charts:
# only create otf-charts PR for new releases
Expand Down

0 comments on commit 8613fe8

Please sign in to comment.