One minute
Work hard, not smart.. wait what?
I’m not exactly known for working smart, but I do work hard. I often take the longer route, and that’s usually how I learn. I tend to do things the “hard way” roughly 45,000 times before I can figure out the shortcuts that make the process easier for me.
For those curious about how I deploy a website with new posts, here’s my workflow:
- I write the content in Obsidian, complete with pictures and all the formatting.
- Then, I copy the content from Obsidian into the
/posts/folder in Hugo. - Next, I use Hugo to compile a new version of the website with the updated posts.
- Finally, I use
rsyncto upload everything to my hosting provider.
Initially, I was uploading files manually through FTP, but that process was too slow and incredibly frustrating. Switching to rsync saved me a lot of time and headaches! :D
So, what’s next? I’m thinking I might involve github in some shape or form so I can just make a fork and deploy it from there. But that’s a whole another idea and project.
!