Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.38 KB

File metadata and controls

27 lines (14 loc) · 1.38 KB

devto-github-template

publish

Example repository setup for synchronizing markdown files as dev.to articles, using assets hosted on GitHub.

Getting started

  • Select Use this template on GitHub. This will create a new repository on your account from this template.

  • Go developers.forem.com ApiKey and follow the Getting an API key instructions to generate your own dev.to API key.

  • Select the Settings tab on your GitHub repository, then go to the Secrets section.

  • Add a secret called DEVTO_TOKEN with the value of your dev.to API key.

Now your articles are ready to be published on dev.to! 🎉

Have a look a the example article in posts/example.md to see how it works, then you just have to commit and push your changes to have them reflected on dev.to.

How it works

This template is based on the publish-devto action, which uses under the hood the devto-cli to publish your articles.

You can find more information about how it works in the CLI readme.