https://github.com/ksingh7/blogs
https://github.com/ksingh7/blogs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ksingh7/blogs
- Owner: ksingh7
- Created: 2022-01-31T20:43:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-19T14:51:42.000Z (over 3 years ago)
- Last Synced: 2025-01-08T20:15:37.008Z (4 months ago)
- Size: 2.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Automated Release Pipeline for my Blogs
I frequently blogs on multiple platforms medium, dev.to and hashnode, links to my blogs are
- [ksingh7.medium.com](https://ksingh7.medium.com/)
- [dev.to/ksingh7](https://dev.to/ksingh7)
- [blog.ksingh.in/](https://blog.ksingh.in/)This repository is the single source of truth for all my blogs
## How i Automated my blogs
- Copy the `template.md` file under the posts directory and give it a sane name
- Write content in your new `posts/automated-release-pipeline-for-my-blogs.md`
- Git add/commit/create tag/push tag
```
git add . ; git commit -am "blog:automated-release-pipeline-for-my-blogs" ; git push origin main
git tag -a blog-automated-release-pipeline -m "automated-release-pipeline-for-my-blogs"
git push origin blog-automated-release-pipeline
```
- Head over to [Github Actions UI](https://github.com/ksingh7/blogs/actions)
- Let the Github Action Complete
- Head over to your blog properties (login required)
- [ksingh7.medium.com](https://medium.com/me/stories/public)
- [dev.to/ksingh7](https://dev.to/dashboard)### Note
- In case you do not publish / re-publish a blog put that in drafts directory
- If you want to modify an already published blog then
- Go to the blog platform and update the required section. This way the blog views will not be affected
- (else danger zone) Delete the blog from the platform and re-publish it
- I also sometime uses [bloggu.io](https://bloggu.io/) for publishing blogs on all 3 platforms, its a great tool
## Blog Template```
---
title: Your Title Goes Here
description: Your Description goes here
tags: 'productivity,beginners,test'
# cover_image: ./assets/cat.jpeg (currently does not work)
canonical_url: null
published: false
---
Some random text with a [link](https://code.visualstudio.com).
## Serious title
Add some text here and there!

## Some Code Snippet
```python
def myFunction()
return true
```