Webhook for Rails Guides site is not working

Recently I notices that https://guides.rubyonrails.org/ does not show 8.1 documents via the dropdown:

In addition, it seems that Edge does not show the guides for main branch. It actually shows 8-1-stable instead.

The following Rakefile in rails/rails repo contains the webhook for Guides, but it seems that “if there’s a new stable tag, generates and publishes stable docs” hook is not working, while at least “updating Rails Contributors” still works :

# We have a webhook configured in GitHub that gets invoked after pushes.
# This hook triggers the following tasks:
#
#   * updates the local checkout
#   * updates Rails Contributors
#   * generates and publishes edge docs
#   * if there's a new stable tag, generates and publishes stable docs
#
# Everything is automated and you do NOT need to run this task normally.
desc "Publishes docs, run this AFTER a new stable tag has been pushed"
task :publish_docs do
  Net::HTTP.new("api.rubyonrails.org", 8080).start do |http|
    request  = Net::HTTP::Post.new("/rails-master-hook")
    response = http.request(request)
    puts response.body
  end
end