philips-software/Post to Medium Action

Automatically push HTML or Markdown to Medium

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Stalelast commit Apr 3, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: philips-software/post-to-medium-action@5870a385749016d597fe4c3619436a9a577288d9 # v0.6.0

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

namedescriptionrequireddefault
integration_tokenMedium's Integration Token. Token can be retrieved at medium.com, settings section, under 'Integration Token.'yes
contentContent to add in the post, can be either HTML or Markdown. Use either this parameter, or the file parameter.no
content_formatThe format of the content field. There are two valid values, html, and markdown.yes
fileAbsolute path to the file to use as content, can be either HTML or Markdown. Use either this parameter, or the content parameter.no
publish_statusPost's status. Valid values are 'draft', 'public', or 'unlisted'.nodraft
notify_followersWhether to notify followers that the user has published.nofalse
licensePost's license. Valid values are 'all-rights-reserved', 'cc-40-by', 'cc-40-by-sa', 'cc-40-by-nd', 'cc-40-by-nc', 'cc-40-by-nc-nd', 'cc-40-by-nc-sa', 'cc-40-zero', 'public-domain'.noall-rights-reserved
publication_nameThe name of the publication the post is being created under. Either PublicationName of PublicationId should be set.no""
publication_idThe id of the publication the post is being created under. If you do not know the Id, use PublicationName.no""
canonical_urlThe canonical URL of the post. If canonicalUrl was not specified in the creation of the post, this field will not be present.no""
tagsThe post’s tags. Provide a comma separated string without spaces.yes""
titleThe post's title.yes""
parse_frontmatterShould the action read and delete frontmatter in a markdown file. Frontmatter should start with --- and end with ---. Should be on the top of the page. When parsing frontmatter, only markdown is supported and settings will be overwritten if specified in the frontmatter.nofalse
namedescription
idID of the Medium post.
author_idAuthor ID of the post creator.
canonical_urlCanonical URL of the post.
licenseLicense of the post, can be empty at times.
license_urlLicense url of the post, Medium uses this under the hood.
publication_idId of the publication which the post is created under.
publication_statusPublication status of the post.
titleTitle of the post.
tagsTags of the post, comma separated.
urlURL to the Medium post.