-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Given an author & post & possibly collection name as input:
{
author: "crutchcorn",
collection: "angular-internals",
post: "angular-internals-timings",
ref: "..."
}- Fetch https://github.com/playfulprogramming/playfulprogramming/blob/main/content/crutchcorn/collections/angular-internals/posts/angular-internals-timings/index.md and any adjacent files in other locales (e.g. "index.es.md")
- Compare with the posts table in the database:
- If the file exists:
- Upload the entire markdown file to S3
- Parse the frontmatter and insert it into the Posts table
- If the post belongs to a collection, insert it in the CollectionChapter table
- If the file no longer exists:
- Remove the post from the database
- If the file exists:
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo