-
Notifications
You must be signed in to change notification settings - Fork 1
Article Build Workflow
Charlie Greenman edited this page Feb 26, 2021
·
8 revisions
This page is going to discuss the article build workflow.
- articles.json contains a
files:
array of articles to be built. - Using the Razroo Markdown engine, articles are built to the
./build/articles
folder. - If a new file that did not exist before is being built, a new request to Strapi is made.
- If it was a pre-existing file that existed, content is updated. ID is used, and push is made.
- If a file name is changed, then the article is deleted. The new file is created.
- We maintain a 1-1 relationship between strapi APIs and content. So instead of an articles API with categories, we have an angular-content API, that solely contains angular content from this repo. It allows us to do a fresh build if needed.