remove useless DATAGOUV_TMP_DIR env

This commit is contained in:
Christophe Robillard 2022-07-21 16:00:33 +02:00
parent 004176a88d
commit 906dd4b509
2 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,7 @@ class Cron::Datagouv::ExportAndPublishDemarchesPubliquesJob < Cron::CronJob
def perform(*args)
gzip_filepath = [
ENV.fetch('DATAGOUV_TMP_DIR', 'tmp'), '/',
'tmp/',
Time.zone.now.to_formatted_s(:number),
'-demarches.json.gz'
].join

View file

@ -142,5 +142,3 @@ VITE_LEGACY=""
NEW_MAX_DUREE_CONSERVATION=12
#
OPENDATA_ENABLED="enabled"
# Directory which temporarily holds demarches.json.gz during generation before publishing to datagouv
DATAGOUV_TMP_DIR="/tmp"