5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-27 19:26:24 +00:00

Merge branch 'issue-13244' into production.panel.sutty.nl

This commit is contained in:
f 2024-10-09 16:56:47 -03:00
commit 84af943cf6
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View file

@ -40,11 +40,14 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
add_licencias &&
add_code_of_conduct &&
add_privacy_policy &&
site.index_posts! &&
deploy
end
auto_publish!
if site.persisted?
site.index_posts!
auto_publish!
end
site
end