Skip to content

基于 Git 的MarkDown blog 系统 draft #21

@haobug

Description

@haobug

origniated by @rexzhang

基于 Git 的MarkDown blog 系统

CI 不能搞定用webhook ?

分支

gh-pages 作为发布的 html
master 为主分支

目录

所有新增文件在 draft 目录
CI 调整过的 markdown 文件在 post 目录
CI 调整过的附件在 xxx? 目录

流程

draft 流程

创建 markdown 文件,文件名随意
其他为附件,文件名随意

publish 流程

一个 markdown 生成一个 post id
CI 自动改文件名等
输出到目录
post
picture

delete 流程

手动删除 post 文件,CI自动检测孤儿附件
或者 某个配置文件包含 post id

unpublished流程

某个配置文件里面包含需要 unpublished 的post id

update 流程

published/unpublished

直接修改 post 目录内的 markdown 文件
新增附件在 xxx?目录

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions