Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,11 @@ runs:
VERSION_TAG="${{ steps.docs.outputs.current_version }}"

if [[ "${{ steps.docs.outputs.commit_type }}" == "tag" ]]; then
# Deploy version tag and update latest alias
# Deploy version tag and update latest alias
mike deploy --push --update-aliases $VERSION_TAG latest

# set-default makes sure there's an index.html which points to latest, allow-undefined allows it to work even if the tag is not in the versions.json yet (e.g. first time release)
mike set-default latest --push
fi

# Remove old patches and update the versions.json file
Expand Down