]> git.openstreetmap.org Git - chef.git/commitdiff
Rebuild embed.html if the settings change
authorTom Hughes <tom@compton.nu>
Tue, 29 Dec 2020 16:21:10 +0000 (16:21 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 29 Dec 2020 17:49:42 +0000 (17:49 +0000)
cookbooks/web/resources/rails_port.rb

index 978dcb70fb952d4944e50dce69ed1473da68d839..90028e9f9833a272b12873b3bf4031443bf26a12 100644 (file)
@@ -448,6 +448,7 @@ action :create do
   file "#{rails_directory}/public/export/embed.html" do
     action :nothing
     subscribes :delete, "git[#{rails_directory}]"
+    subscribes :delete, "file[#{rails_directory}/config/settings.local.yml]"
   end
 
   passenger_application rails_directory do