You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following environment variables are required to fetch files from Google Docs. They are not required when converting JSON documents to markdown:
84
+
85
+
-`GOOGLE_DOCS_CLIENT_ID`
86
+
-`GOOGLE_DOCS_CLIENT_SECRET`
87
+
-`GOOGLE_DOCS_ACCESS`
88
+
-`GOOGLE_DOCS_REFRESH`
89
+
90
+
To learn how to create a client ID and secret, read the article [Using OAuth 2.0 to Access Google APIs](https://developers.google.com/identity/protocols/oauth2). Once you've created them, create an access token and a refresh token, use the [OAuth 2.0 Playground](https://developers.google.com/oauthplayground/) with your client ID and secret.
If you want to sync your Google Docs documents as markdown files to a GitHub repository, you can use this GitHub Actions workflow that runs every day, fetches your documents, and commit them to your repo. Make sure you have all the required environment variables stored as GitHub Secrets:
0 commit comments