You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project pulls blog posts from markdown files in the repository dynamically. New posts can be created simply by merging markdown files where the path is /src/pages/blog/{slug}. The action should be configured for manual triggering with these inputs:
title
author
The action should:
generate a url safe simple slug (see examples in src/pages/blog)
checkout the current content/blog branch
create an index.md file at /pages/blog/{slug}
the index.md file should contain frontmatter in the following format:
---
- title: {user title from workflow trigger}
- author: {user author from workflow trigger}
- date: {current date as ISO-8601 string}
- content-type: "blog | project | event" (each document will only be one type)
- publish: true | false
---
commit the changes and push to content/blog
generate pr from content/blog -> dev
bonus points if it redirects to the newly created index.md
The text was updated successfully, but these errors were encountered:
This project pulls blog posts from markdown files in the repository dynamically. New posts can be created simply by merging markdown files where the path is
/src/pages/blog/{slug}
. The action should be configured for manual triggering with these inputs:The action should:
content/blog
branch/pages/blog/{slug}
content/blog
content/blog
->dev
The text was updated successfully, but these errors were encountered: