From be6e2015be683c4f855ee64de24c9a90d3103474 Mon Sep 17 00:00:00 2001 From: Gitea Actions Date: Sun, 4 May 2025 18:44:20 +0000 Subject: [PATCH] Auto-update blog content from Obsidian: 2025-05-04 18:44:20 --- content/posts/blog-deployment.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/content/posts/blog-deployment.md b/content/posts/blog-deployment.md index 84e3df8..e8c7341 100644 --- a/content/posts/blog-deployment.md +++ b/content/posts/blog-deployment.md @@ -10,6 +10,7 @@ I'm constantly tinkering in my homelab, trying new tools and workflows. Instead I wanted the entire process to be automated, self-hosted, and integrated into the tools I already use. +--- ## 🔧 Tools ### Obsidian @@ -34,13 +35,13 @@ To run those workflows, I installed a [Gitea runner](https://gitea.com/gitea/act ## 🔁 Workflow The idea is simple: - 1. I write blog content in my Obsidian vault, under a specific `Blog` folder. -2. When I push updates to that folder, a first Gitea Action is triggered. -3. The first action syncs the updated blog content to a separate [blog repository](https://git.vezpi.me/Vezpi/blog). -4. In the blog repository, another Gitea Action is triggered. -5. The second Gitea Action generates the static web pages while upgrading Hugo if needed -6. The blog is now updated (the one you are reading). +2. When I'm done editing the file, the Obisdian Git plugin automatically commits and push updates to the Gitea repository +3. When Gitea receives that push, a first Gitea Action is triggered. +4. The first action syncs the updated blog content to another separate [Git repository](https://git.vezpi.me/Vezpi/blog) which hosts my blog content. +5. In that blog repository, another Gitea Action is triggered. +6. The second Gitea Action generates the static web pages while upgrading Hugo if needed +7. The blog is now updated (the one you are reading). This way, I never need to manually copy files or trigger deployments. Everything flows from writing markdown in Obsidian to having a fully deployed website.