5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 03:56:22 +00:00

fix: crear hooks y blocklists después de publicar

This commit is contained in:
f 2024-03-06 14:42:08 -03:00
parent 19d998086c
commit fbd741960b
No known key found for this signature in database

View file

@ -7,9 +7,6 @@ class DeploySocialDistributedPress < Deploy
# Solo luego de publicar remotamente
DEPENDENCIES = %i[deploy_distributed_press deploy_rsync deploy_full_rsync].freeze
after_save :create_hooks!
after_create :enable_fediblocks!
# Envía las notificaciones
def deploy(output: false)
with_tempfile(site.private_key_pem) do |file|
@ -18,6 +15,10 @@ class DeploySocialDistributedPress < Deploy
run %(bundle exec jekyll notify --trace --key #{key} --destination "#{dest}"), output: output
end
create_hooks!
enable_fediblocks!
end
# Igual que DeployLocal