From: Tom Hughes Date: Tue, 29 Dec 2020 16:21:10 +0000 (+0000) Subject: Rebuild embed.html if the settings change X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/171ad7618bec0c5792663f52b3ba1e7c22c1024a Rebuild embed.html if the settings change --- diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 978dcb70f..90028e9f9 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -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