Skip to content

Commit

Permalink
Merge pull request #69 from mlinfra-io/fix-documentation-deployment
Browse files Browse the repository at this point in the history
Added set-default to mike deploy
  • Loading branch information
aliabbasjaffri committed Feb 20, 2024
2 parents e6c9326 + dbf96bf commit 3257d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/mike-docs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ runs:
run: |
MIKE_OPTIONS=( "--update-aliases" )
if [ "true" = "${{ inputs.push }}" ]; then
MIKE_OPTIONS+=( "--push" )
MIKE_OPTIONS+=( " --push" )
fi
mike deploy ${{ inputs.version }} ${{ inputs.alias }} "${MIKE_OPTIONS[@]}"
if [ "true" = "${{ inputs.push }}" ]; then
mike set-default ${{ inputs.version }}
mike set-default --push latest
fi
shell: bash

0 comments on commit 3257d40

Please sign in to comment.