From b24afeb8c66ac0b9e76e82258f532018713d07bf Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Tue, 26 Sep 2023 14:22:59 +0200 Subject: [PATCH] merge --- app/views/admin/communication/websites/_form.html.erb | 3 --- .../websites/configs/production_config/static.html.erb | 8 ++++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/views/admin/communication/websites/_form.html.erb b/app/views/admin/communication/websites/_form.html.erb index b984f5fa7..03ae725a8 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 4e86dabd9..e02c4f2a8 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 %> -- GitLab