Skip to content

Commit

Permalink
fix(docs): workaround for mike 2.0 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkChaos committed Jan 8, 2024
1 parent 971232b commit 7fd7b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
EXTRA_ALIAS=latest
echo "EXTRA_ALIAS=$EXTRA_ALIAS" >&2
fi
(set -x; mike deploy --push --update-aliases "$VERSION" $EXTRA_ALIAS)
(set -x; mike deploy --push --update-aliases "$VERSION" $EXTRA_ALIAS --alias-type=redirect)
tr '[:upper:]' '[:lower:]' <<< "https://${{github.repository_owner}}.github.io/${{github.event.repository.name}}/$VERSION/" >> "$GITHUB_STEP_SUMMARY"
if [ -n "$EXTRA_ALIAS" ]; then
tr '[:upper:]' '[:lower:]' <<< "https://${{github.repository_owner}}.github.io/${{github.event.repository.name}}/$EXTRA_ALIAS/" >> "$GITHUB_STEP_SUMMARY"
Expand Down

0 comments on commit 7fd7b6f

Please sign in to comment.