diff --git a/app/views/admin/communication/websites/_form.html.erb b/app/views/admin/communication/websites/_form.html.erb index b984f5fa72cb650d99f28662624baf2993c91cf7..03ae725a8c9d2db86f89e4265ceee755fc80e5eb 100644 --- a/app/views/admin/communication/websites/_form.html.erb +++ b/app/views/admin/communication/websites/_form.html.erb @@ -44,9 +44,6 @@ <%= f.input :repository %> <%= f.input :git_branch %> <% end %> - <%= osuny_panel t('communication.website.analytics') do %> - <%= f.input :plausible_url %> - <% end %> </div> <div class="col-xl-4"> <%= osuny_panel Communication::Website.human_attribute_name('social') do %> diff --git a/app/views/admin/communication/websites/configs/production_config/static.html.erb b/app/views/admin/communication/websites/configs/production_config/static.html.erb index 4e86dabd96882e994b0e09592409f225d2fcf978..e02c4f2a8f6a09e8d9023b3b44168bc8d3ea424c 100644 --- a/app/views/admin/communication/websites/configs/production_config/static.html.erb +++ b/app/views/admin/communication/websites/configs/production_config/static.html.erb @@ -5,3 +5,11 @@ baseURL: <%= @website.url %> ## LANGUAGE defaultContentLanguage: <%= @website.default_language.iso_code %> defaultContentLanguageInSubdir: <%= @website.languages.many? %> + +<% if @website.deuxfleurs_hosting %> +## DEUXFLEURS +deployment: + targets: + - name: "production" + URL: "s3://<%= @website.deuxfleurs_identifier %>?endpoint=garage.deuxfleurs.fr&s3ForcePathStyle=true®ion=garage" +<% end %>