Blog template to use Google Docs as article editor.
GOOGLE_DRIVE_FOLDER_ID
GOOGLE_SERVICE_ACCOUNT
GOOGLE_WORKLOAD_IDENTITY_PROVIDER
I prepared a simple shell script that creates the necessary GCP resources for OIDC settings by using cloud
command. Fill in some required variables and then run this script.
Once set up, the documents in the folder will be periodically synced as articles.
Note that there is a restriction on the document file name, which must be in the format like "YYYY-MM-DD-slug" (e.g. "2022-05-05-foo-bar"). This file name will be used for the article URL and the published date.