In this article, I'll share you how to update your latest articles on dev.to into your Github profile.
What is Github profile
GitHub ...
For further actions, you may consider blocking this person and/or reporting abuse
Awesome article!
It's probably worth noting for those who don't know, the
update-articles.yml
is a cron job that is set to run everyday0:15 AM
. So don't expect your GitHub profile to be updated immediately... You can obviously tweak that at the start to just check that it is working sooner rather than waiting overnight ;)Really cool using jobs for updating the articles. 👍
Thanks for this!
I added it, and it works as you can see here on my profile
Just incase this catches anyone else out...
If your main branch is called 'master' instead of 'main', be sure to update that in the cron job, that caught me out :P
Thank you.
Nice stuff! will definitely try this out!
Thanks a lot! It looks like something I was looking for!
Great article definitely gonna try this out
Great
thanks I will probably use it now
can you do it for Medium too? 😁
Of course, I will do it soon!
we will be waiting until then
I might wanna tinker it later 😀
I think it would be really cool to use GitHub Actions to update the README in real time, even for library code.
However, I'm not a fan of dev.to's default thumbnails, so I think it would be essential to include an image if I'm going to connect dev.to posts to my GitHub profile.
You can do it by placing your image in data/images/default-thumbnail.png
It is giving me this error.
What might've caused it?
Could you share your repo?
This is the profile
This is the profile repository for the Readme
Please update this block:
Can it work with Substack?
I've written an ArticleService interface that you can implement for data sources. If Substack has an API, I will do it for you.
The cron will run once every day right? Also would this work on Github organization page? ie. something like this.
Regarding cron, you can define it as needed, such as every 6 hours, every 1 hour, or even every 5 minutes.
As for a GitHub organization page, I think it's the same as a personal page.