@ndrsg/nx-confluence
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

@ndrsg/nx-confluence

npm npm

Nx executor to interact with Atlassian Confluence via its "REST" Api

update-content

{ 
  "targets": 
  {
    "confluence": {
      "executor": "@ndrsg/nx-confluence:update-content",
      "options": {
        "baseUrl": "https://conflucene.local",
        "beforeContent": "<ac:structured-macro ac:name=\"html\" ac:schema-version=\"1\" ac:macro-id=\"...\"><ac:plain-text-body><![CDATA[",
        "content": "./README.md",
        "afterContent": "]]></ac:plain-text-body></ac:structured-macro>",
        "contentId": "1234",
        "title": "The New Changelog for Version $CI_VERSION",
        "headers": {
          "Authorization": "Bearer $CONFLUENCE_TOKEN"
        },
        "contentConvert": "md2html+highlight.js"
      }
    }
  },
}

Package Sidebar

Install

npm i @ndrsg/nx-confluence

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

10.8 kB

Total Files

12

Last publish

Collaborators

  • ndrsg