From aacf9f29bd6cab8632fc1adbc42cb1bd6613b77c Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 28 Sep 2024 08:43:17 +0200 Subject: Simplify demo site configuration --- netlify-production.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 netlify-production.js (limited to 'netlify-production.js') diff --git a/netlify-production.js b/netlify-production.js deleted file mode 100644 index 18ae1d2..0000000 --- a/netlify-production.js +++ /dev/null @@ -1,15 +0,0 @@ -const fs = require('fs'); -const yaml = require('yaml'); - -const filePath = 'exampleSite/config/_default/params.yaml'; -const file = fs.readFileSync(filePath, 'utf8'); -const config = yaml.parse(file); - -config.privacy.googleTagManager.disable = false; -config.services.googleTagManager.id = 'GTM-W8D5W642'; - -const newYaml = yaml.stringify(config); - -fs.writeFileSync(filePath, newYaml, 'utf8'); - -console.log('Updated config.yaml successfully!'); -- cgit v1.2.3