Skip to content

Commit

Permalink
fix env config
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshMalik02 committed Sep 3, 2023
1 parent fbd05ef commit 95fab2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/component-generator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getCssStringFromCommittee, generateCommittee } from './lib.mjs';
// import vars from '../styles/global_variables.module.scss';

// .env config
dotenv.config({ path: '.env.local' });
dotenv.config();
const SPREADSHEET_ID = process.env.LANDING_SPREADSHEET_ID;
const SERVICE_ACCOUNT = process.env.SERVICE_ACCOUNT ?? '';

Expand Down
2 changes: 1 addition & 1 deletion scripts/landing-page-generator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { google } from 'googleapis';
import { getCssStringFromCommittee, generateCommittee } from './lib.mjs';

// .env config
dotenv.config({ path: '.env.local' });
dotenv.config();
const SPREADSHEET_ID = process.env.LANDING_SPREADSHEET_ID;
const SERVICE_ACCOUNT = process.env.SERVICE_ACCOUNT ?? '';

Expand Down

0 comments on commit 95fab2e

Please sign in to comment.