Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Hosts my Tech@Work Blog with full CI/CD support and infrastructure as code

License

Notifications You must be signed in to change notification settings

kayman-mk/blog-tech-at-work

Repository files navigation

Code Size Release Status

Tech@Work

This repository contains the content of my blog Tech@Work.

Workflows

  • Linting:
    • YAML
    • PHP
    • Markdown files
    • Dockerfiles
    • the title of pull requests
    • Github workflow files
  • Semantic release

Comment System

As this is a static site, I need a place for the comments for each article. I decided to put them into GitHub issues. This integrates nicely into my daily workflow and it's fully automated:

  • when a new post is created, the pipeline creates a new issue with the title of the post and the labels blog-comment and not-published.
  • the issue id is added to the post's frontmatter (with a commit from the workflow)
  • as soon as the PR is merged into the main branch, the issue is closed, the label not-published is removed

But the main work was done by others: Ari Stathopoulos created the basis for the comment system in 2019. And Aleksandr Hovhannisyan extended this system in 2020 and 2021 with really useful JavaScript.

I integrated this comment system into my blog and changed the layout a little to integrate better with the Minimal Mistake theme I use.

Run Jekyll locally

Execute the start_blog.sh script. It builds a Docker image with all prerequisites and serves the blog on your local machine at http://localhost:4000/.