5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-30 12:26:21 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-06 17:44:56 +00:00
commit 90362973c0

View file

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