开源软件名称(OpenSource Name):duo-labs/markdown-to-confluence开源软件地址(OpenSource Url):https://github.com/duo-labs/markdown-to-confluence开源编程语言(OpenSource Language):Python 99.5%开源软件介绍(OpenSource Introduction):markdown-to-confluenceConverts and deploys a Markdown file to Confluence. This project was created to sync Journal posts to Confluence as part of the CI process. However, it's able to more generally handle Markdown files that have front-matter at the top, such as those used in Hugo, Jeykll, etc. InstallationTo install the project, you need to first install the dependencies:
Alternatively, you can use the provided Dockerfile:
Usage
What Posts are DeployedThis project assumes that the Markdown files being processed have YAML formatted front-matter at the top. In order for a file to be processed, we expect the following front-matter to be present: wiki:
share: true Deploying a PostThere are two ways to deploy a post: Syncing from a Git RepositoryThis project was originally created to keep an instance of Journal in sync with a Confluence instance. To that end, this project is able to be run as part of a CI/CD pipeline, taking the Markdown files modified in the latest commit and syncing them to the upstream Confluence instance. To enable this as part of your CI/CD pipeline, run
Deploying Posts On-DemandYou may wish to deploy a post on-demand, rather than building this process into your CI/CD pipeline. To do this, just put the filenames of the posts you wish to deploy to Confluence as arguments:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论