Archive webmentions if they have been removed from their source
This commit is contained in:
8
Rakefile
8
Rakefile
@@ -80,6 +80,14 @@ namespace :blog do
|
||||
user_repo = Admin::Container["repos.user_repo"]
|
||||
user_repo.create(id: SecureRandom.uuid, email: args[:email])
|
||||
end
|
||||
|
||||
task clean_webmentions: ["blog:load_environment"] do
|
||||
require "hanami/prepare"
|
||||
require "que"
|
||||
|
||||
Que.connection = Adamantium::Container["persistence.db"]
|
||||
Adamantium::Jobs::ArchiveDeletedWebmentions.enqueue
|
||||
end
|
||||
end
|
||||
|
||||
namespace :tailwind do
|
||||
|
Reference in New Issue
Block a user