If a tree falls in the woods, does it make a sound?
Publish your repo's markdown to multiple distributors with a simple git push, so that when your tree falls, it makes a sound.
Create an Issue if you have another distributor that you'd like to add to this git action.
| Input | Description | Usage |
|---|---|---|
github-token | GitHub Auth Token | Required |
content-dir | Path from the root to your markdown files. Defaults to ./content/articles/ | Optional |
dev-to-token | API token for dev.to. (https://dev.to/settings/account) | Required |
medium-token | API token for medium.to. (https://medium.com/me/settings) | Optional |
medium-author-id | You can access your author id from the (User Endpoint)[https://github.com/Medium/medium-api-docs#31-users]. | Optional |
name: CrossPoston:
push:
paths:
- 'content/articles/*.md'jobs:
crosspost:
runs-on: ubuntu-lateststeps:
- name: Checkout Codeuses: actions/checkout@v2
- uses: basicBrogrammer/crosspost-markdown@v0.1.1with:
content-dir: 'content/articles/'dev-to-token: ${{ secrets.DEV_TO }}github-token: ${{ secrets.GITHUB_TOKEN }}This action is still under construction. Report any issues you have. Pull requests welcome. 🤙