| labels | how-to |
|---|
This guide shows how to run text2confl using the official Docker image. This is the recommended approach for CI/CD pipelines.
The official image is zeldigas/text2confl. Tags:
zeldigas/text2confl:latest- latest release frommasterzeldigas/text2confl:0.25.2- a specific version
Mount your docs directory as a volume and pass credentials via environment variable:
docker run --rm -it \
-v "$PWD:/wd" \
--workdir /wd \
-e CONFLUENCE_ACCESS_TOKEN=your_token \
zeldigas/text2confl upload --docs .If you store credentials in ~/.config/text2confl/config.properties, mount the config directory read-only:
docker run --rm -it \
-v ~/.config/text2confl:/root/.config/text2confl:ro \
-v "$PWD:/wd" \
--workdir /wd \
zeldigas/text2confl upload --docs .- name: Publish docs to Confluence
run: |
docker run --rm \
-v "${{ github.workspace }}/docs:/wd" \
--workdir /wd \
-e CONFLUENCE_ACCESS_TOKEN=${{ secrets.CONFLUENCE_TOKEN }} \
zeldigas/text2confl upload --docs .- Authenticate with Confluence - credential options
- Troubleshoot conversion output - inspect converted output locally