5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 10:26:22 +00:00
This commit is contained in:
f 2022-07-26 13:57:57 -03:00
parent 6154139c8f
commit 7946cfb563

View file

@ -2,7 +2,7 @@
# Reindexa los artículos al terminar la compilación # Reindexa los artículos al terminar la compilación
class DeployReindex < Deploy class DeployReindex < Deploy
def deploy def deploy(output: true)
site.reset site.reset
site.indexed_posts.destroy_all site.indexed_posts.destroy_all
site.index_posts! site.index_posts!