7nohe/Confluence MD

Convert Markdown (GFM) to Confluence Cloud storage format and update a page

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 26, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 7nohe/confluence-md@b94f5ef70635d3d3124972e949fc034bf6a4ca56 # v0.2.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
confluence_base_urlConfluence base URL (e.g., https://example.atlassian.net)yes
page_idConfluence page ID (fallback if frontmatter missing)no
space_keyConfluence space key (creates new page if no page_id)no
parent_page_idParent page ID for new pagesno
write_page_idWrite created page ID back to frontmatternotrue
emailConfluence account emailyes
api_tokenConfluence API tokenyes
sourceMarkdown file or directory pathyes
attachments_baseBase directory for resolving relative image paths (defaults to source directory)no
title_overrideOverride page titleno
frontmatter_page_id_keyFrontmatter key used to extract the page IDnoconfluence_page_id
image_modeImage handling mode: upload or externalnoupload
download_remote_imagesDownload remote images and upload as attachmentsnofalse
mermaid_macroMacro name emitted for mermaid code fences. Set to match the Mermaid app installed in your Confluence site (e.g. mermaid-cloud).nomermaid
skip_if_unchangedSkip update when storage output is identicalnotrue
excludeGlob patterns to exclude files in directory mode (comma or newline separated, e.g., "**/README.md,docs/draft/**")no""
dry_runBuild output but do not update Confluencenofalse
notify_watchersAccepted but currently ignorednofalse
user_agentHTTP user agentnoconfluence-md
namedescription
page_urlURL of the updated Confluence page
page_idID of the updated Confluence page
versionNew version number of the page
updatedWhether the page was actually updated (true/false)
createdWhether a new page was created (true/false)
attachments_uploadedNumber of attachments uploaded
content_hashHash of the generated storage content
total_filesTotal number of Markdown files processed in directory mode
succeeded_filesNumber of files processed successfully in directory mode
failed_filesNumber of files that failed in directory mode
updated_filesNumber of files updated in directory mode
attachments_uploaded_totalTotal number of attachments uploaded in directory mode
results_jsonJSON array of per-file results in directory mode
failures_jsonJSON array of per-file failures in directory mode
skipped_filesNumber of files skipped (no page ID) in directory mode
skipped_jsonJSON array of per-file skipped entries in directory mode