mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-30 12:46:22 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
90362973c0
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue