In a previous post I updated the blog to update with a script, now I’m making it even more automated, the scrip is in the .git/post-receive on the server so it updates on git push which I run via the Obsidian Git plugin
Posts for: #Meta
reposts page
Run hugo on server
Testing running hugo on server
rsync -r --progress --delete --exclude=.git --force . $SERVER:~/microblog
ssh -t $SERVER "cd ~/microblog && hugo && sudo rsync -r --delete --force ~/microblog/public/ /var/www/microblog"
Jackie’s Microblog
I made a static site I can post to from my phone
basically I have an obsidian vault with the “create unique notes” extension set to copy a template file into content/posts/<timestamp>.md then I run hugo in nix-on-droid with a script and push the result to my server over tailscale