{"id":20758147,"url":"https://github.com/carlspring/medium-publish-action","last_synced_at":"2025-03-11T16:23:38.033Z","repository":{"id":260209449,"uuid":"880616017","full_name":"carlspring/medium-publish-action","owner":"carlspring","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-31T09:41:43.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T04:44:30.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carlspring.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-30T03:04:20.000Z","updated_at":"2024-10-31T09:41:47.000Z","dependencies_parsed_at":"2024-10-30T06:17:13.272Z","dependency_job_id":null,"html_url":"https://github.com/carlspring/medium-publish-action","commit_stats":null,"previous_names":["carlspring/medium-publish-action"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlspring%2Fmedium-publish-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlspring%2Fmedium-publish-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlspring%2Fmedium-publish-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlspring%2Fmedium-publish-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlspring","download_url":"https://codeload.github.com/carlspring/medium-publish-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243067895,"owners_count":20231017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T09:49:05.486Z","updated_at":"2025-03-11T16:23:38.004Z","avatar_url":"https://github.com/carlspring.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Publish Markdown to Medium GitHub Action\n\nThis GitHub Action publishes Markdown files to Medium as stories or drafts.\n\n## Usage\n\nAdd the following workflow to your repository to use this action.\n\n### Example Workflow\n\n```yaml\nname: Publish Markdown to Medium\non:\n  push:\n    paths:\n      - \"content/*.md\"\n\njobs:\n  publish:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Publish Markdown to Medium\n        uses: carlspring/medium-publisher-action@v1\n        with:\n          medium_token: ${{ secrets.MEDIUM_TOKEN }}\n          file_path: \"content/your-article.md\"\n          publish_status: \"draft\" # Use 'public' to publish immediately\n```\n\n## Inputs\n\n* `medium_token` (Required): Your Medium integration token.\n* `file_path` (Required): Path to the Markdown file to publish.\n* `publish_status`: (Optional): Set to draft (default) or public.\n\n## Medium Integration Token\n\n* Go to Medium `Settings`.\n* Generate an integration token.\n* Add this token as a secret in your GitHub repository under `Settings` \u003e `Secrets and variables` \u003e `Actions` (e.g., `MEDIUM_TOKEN`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlspring%2Fmedium-publish-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlspring%2Fmedium-publish-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlspring%2Fmedium-publish-action/lists"}