First, you need to install devto-cli
to manage articles.
$ cargo install devto-cli
Next, export your dev.to token when using some scripts.
$ export DEVTO_TOKEN=your_token
Or you can pass the token as an option:
$ devto new your-new-article-title --devto-token your_token
$ devto new your-new-article-title
You should set secrets on your GitHub repository
- Change the
publish
to true in front matter - Push to your GitHub repository
- https://dev.to/p/editor_guide
- https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet
- https://github.com/maxime1992/dev.to#how-do-i-add-images-to-my-blog-posts
{% embed https://... %}
- Committed new revisions, after being published, will be automatically applied by
dev-to-git