philips-software/Post to Medium Action
Automatically push HTML or Markdown to Medium
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Stalelast commit Apr 3, 2024
- License
- MIT
Pinned Snippet
uses: philips-software/post-to-medium-action@5870a385749016d597fe4c3619436a9a577288d9 # v0.6.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| integration_token | Medium's Integration Token. Token can be retrieved at medium.com, settings section, under 'Integration Token.' | yes | — |
| content | Content to add in the post, can be either HTML or Markdown. Use either this parameter, or the file parameter. | no | — |
| content_format | The format of the content field. There are two valid values, html, and markdown. | yes | — |
| file | Absolute path to the file to use as content, can be either HTML or Markdown. Use either this parameter, or the content parameter. | no | — |
| publish_status | Post's status. Valid values are 'draft', 'public', or 'unlisted'. | no | draft |
| notify_followers | Whether to notify followers that the user has published. | no | false |
| license | Post'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'. | no | all-rights-reserved |
| publication_name | The name of the publication the post is being created under. Either PublicationName of PublicationId should be set. | no | "" |
| publication_id | The id of the publication the post is being created under. If you do not know the Id, use PublicationName. | no | "" |
| canonical_url | The canonical URL of the post. If canonicalUrl was not specified in the creation of the post, this field will not be present. | no | "" |
| tags | The post’s tags. Provide a comma separated string without spaces. | yes | "" |
| title | The post's title. | yes | "" |
| parse_frontmatter | Should 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. | no | false |
Outputs
| name | description |
|---|---|
| id | ID of the Medium post. |
| author_id | Author ID of the post creator. |
| canonical_url | Canonical URL of the post. |
| license | License of the post, can be empty at times. |
| license_url | License url of the post, Medium uses this under the hood. |
| publication_id | Id of the publication which the post is created under. |
| publication_status | Publication status of the post. |
| title | Title of the post. |
| tags | Tags of the post, comma separated. |
| url | URL to the Medium post. |