Skip to content

Commit

Permalink
Updated mike action
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Abbas Jaffri <[email protected]>
  • Loading branch information
aliabbasjaffri committed Feb 20, 2024
1 parent 3257d40 commit f9940cc
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,9 +29,9 @@ 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[@]}"
mike deploy "${MIKE_OPTIONS[@]}" ${{ inputs.version }} ${{ inputs.alias }}
if [ "true" = "${{ inputs.push }}" ]; then
mike set-default --push latest
fi
Expand Down

0 comments on commit f9940cc

Please sign in to comment.