Auto-update blog content from Obsidian: 2025-05-04 13:29:49
This commit is contained in:
parent
a4d389c498
commit
d27b0a85c4
@ -96,7 +96,6 @@ I added this token as secret `REPO_TOKEN` in the repository
|
||||
|
||||
I needed to create the workflow that will spin-up a container and do the following:
|
||||
- When I push new/updated files in the `Blog` folder
|
||||
- Install `rsync`
|
||||
- Checkout the current repository (Obsidian vault)
|
||||
- Clone the blog repository
|
||||
- Transfer blog content from Obsidian
|
||||
@ -163,7 +162,6 @@ Obsidian uses wiki-style links for images, like `![[image name.png]]`, which isn
|
||||
The blog repository contains the full Hugo site, including the synced content and theme.
|
||||
|
||||
Its workflow:
|
||||
- Install `jq`
|
||||
- Checkout the blog repository
|
||||
- Check if the Hugo version is up-to-date. If not, it downloads the latest release and replaces the old binary.
|
||||
- Build the static website using Hugo.
|
||||
|
Loading…
x
Reference in New Issue
Block a user