Skip to content

Instantly share code, notes, and snippets.

@sebdanielsson
Last active September 9, 2024 12:21
Show Gist options
  • Save sebdanielsson/7470d9ec46d6939091d42f98817724ff to your computer and use it in GitHub Desktop.
Save sebdanielsson/7470d9ec46d6939091d42f98817724ff to your computer and use it in GitHub Desktop.
Transfer markdown documents to Confluence

markdown2confluence

Tool: https://github.com/justmiles/go-markdown2confluence

Build

Ladda ner binär: https://github.com/justmiles/go-markdown2confluence/releases/download/v3.4.6/go-markdown2confluence_3.4.6_linux_x86_64.tar.gz

docker build --build-arg VERSION=$(git describe --tags) -t justmiles/markdown2confluence:v3.4.6 -f .goreleaser.dockerfile .

Confluence Data Center and PAT

.\markdown2confluence.exe --endpoint 'LINK_TO_WIKI' --username 'USERNAME_OR_EMAIL' --access-token 'PAT_TOKEN_HERE' --space 'TEST' --use-document-title docs

Confluence Cloud with API Token

.\markdown2confluence.exe --endpoint 'LINK_TO_WIKI' --username 'EMAIL' --password 'API_TOKEN' --space 'TEST' --use-document-title docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment