Pulls data from this spreadsheet and makes it available as a JSON document.
WARNING! Use a blank Google Account when setting this up on Continuous Integration
- Enable the Drive API: https://console.cloud.google.com/flows/enableapi?apiid=drive.googleapis.com
- Enable the Sheets API: https://console.cloud.google.com/flows/enableapi?apiid=sheets.googleapis.com
- Follow the Create the service account and credentials instructions and generate a key for the service account
- Store that file in the project folder as
jwt.keys.json
You can now run
node export-to-json.js
Configure the secret service_account_jwt
in the production
environment with
the contents of the file jwt.keys.json
.