Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(WIP) Task to import/sync content from GitHub with the db #7

Open
fennifith opened this issue Feb 5, 2025 · 0 comments
Open

(WIP) Task to import/sync content from GitHub with the db #7

fennifith opened this issue Feb 5, 2025 · 0 comments

Comments

@fennifith
Copy link
Member

Initially, content will only get pulled into the database from the GitHub repo. We'll need to define a task that pulls content in whenever the main branch is updated (this could run from a webhook).

Less important: would it be possible to report progress/success through the github api? (the way that vercel/netlify deploys work)

Ideally, it should be possible to track the most recent change applied so that the task only needs to check for new commits and replace any records that have been modified. (e.g. a single edit to one post doesn't involve updating the db for every post on the site)

It will (in the future) be necessary to write updates made in the db back to the github repo as well. However, that is not an immediate goal.

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

No branches or pull requests

1 participant