Skip to content

Conversation

ieatyoursushi
Copy link
Collaborator

@ieatyoursushi ieatyoursushi commented Dec 6, 2024

i. modified python script (script_2.py) pulls data from google spreadsheet via google service account and writes data to eventData.ts which is used by the component. (service account authenticated by json key file)
ii. Python script executed via a nextjs api endpoint (api/eventsRefresher)
iii. api requests to this endpoint are automated by vercel's cron job (in vercel.json) every day at 12:00AM, refreshing events on the web page via the python file-modifying script.
iv. local file paths used to test

Copy link

vercel bot commented Dec 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tasa-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 6:17am

Copy link

vercel bot commented Dec 6, 2024

Deployment failed with the following error:

The `vercel.json` schema validation failed with the following message: `crons[0].path` should match pattern "^/.*"

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

@ieatyoursushi ieatyoursushi changed the title modified google sheets python script and made api endpoint for execut… google sheets integration w/ cron job Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant