How to Schedule a Blog Post on Hashnode.

How to Schedule a Blog Post on Hashnode.

Everyone has been asking this for a very long time. In today's blog, I will show you how you can schedule a blog to be released on hashnode.

This is not an official way.

This is going to be a step by step guide. Please follow along to make sure you don't miss something.

Connect your GitHub repo with Hashnode

  • Go to the integrations tab on your blog's dashboard. Screenshot 2020-10-25 at 5.34.05 PM.png

  • Now click on Connect Hashnode App on Github under Publish articles from GitHub. It will take you to the GitHub apps page where you need to press install. Configure your blog repo from where you want to publish your articles.

installation steps

I am only giving access to only one repo because I don't want to expo all of the repo to hashnode. You can also choose to do the same if you don't want to give access to all the GitHub repositories to hashnode.

Now install PR scheduler on your Github repository

  • PR scheduler is a Github App that allows you to schedule your PR requests to be merged at a specific date and time. To use this app you have to first connect it to your GitHub repo.

  • Go to their website and click on install. After that follow along with the instructions to connect the app. You can see the below video to check how I did it.

PR Scheduler

Again, I am restricting the access of this app to a single repository.

Once you have done the above two steps we are ready to schedule our PR.

Schedule Blog pull request using PR Scheduler

  • Let's first create a PR for our blog post. For this, you can use your local editor to create your post and then push it on a branch, and then create a pull request. Please read this blog to know more about how to write blogs using hashnode GitHub integration.

Screenshot 2020-10-25 at 6.16.37 PM.png

  • Once you have created your PR we just have to type @prscheduler <date-time>. For Eg: @prscheduler 25/10/2020T18:13:41, this will get published at 18:13:41 UTC time on 25th October 2020. To know more about it please read this

Screenshot 2020-10-25 at 6.25.51 PM.png

After this, your blog will be scheduled to be merged at the specified time. Once it gets merged, it will be visible on your hashnode blog.

Conclusion

This is a small hack put together by me to schedule my blog post. A huge thanks to hashnode team for enabling the GitHub integration for publishing the blogs. I hope they will soon support the schedule post out of the box. In case you are stuck feel free to share your problem in the comment box and tag me, I will try to help.

If you liked this post please share it with others so that it can help them as well. You can tag me on Twitter @imumesh18. You can subscribe to my newsletter to read more from me.

Did you find this article valuable?

Support Umesh Yadav by becoming a sponsor. Any amount is appreciated!