CivicTechAtlanta / georgia-courtbot

Helping people remember to attend court to help break the cycle of fines and jail time
4 stars 5 forks source link

Add cloud run wrapper triggered by a GitHub action #32

Closed BennyJW closed 2 years ago

BennyJW commented 2 years ago

This should run smoothly by triggering the GitHub action manually. The scraper will be scheduled to run at 3am.

I created a Service Account with the correct permissions (cloudrun-sa@cfa-georgia-courtbot.iam.gserviceaccount.com). Just need to generate a key. In the Service Account UI, click KEYS, then ADD KEY, then Create new key, then select JSON. Copy the JSON text of the key into a GitHub secret for this repo and name the secret GCP_SA_KEY.

I made small revisions to the @abrie scraper code to suppress the SSL warnings. Reject those and use the improved version he has been working on.