paimon-moe/scripts/createEnv.js
I Made Setia Baruna 5badfa804d Add netlify toml
2021-01-09 01:27:08 +08:00

7 lines
239 B
JavaScript

const fs = require('fs');
let envString = '';
envString += `GOOGLE_DRIVE_CLIENT_ID=${process.env.GOOGLE_DRIVE_CLIENT_ID}\n`;
envString += `GOOGLE_DRIVE_API_KEY=${process.env.GOOGLE_DRIVE_API_KEY}\n`;
fs.writeFileSync('.env', envString);