Hostinger Deployment Flow (Subtree + Public Build)
Your Name
- One minute read - 77 wordsOverview
This project deploys to Hostinger using a dedicated branch (hostinger) that contains only the static output from the public/ folder.
The flow:
- Sync content from Obsidian
- Ensure
public/is up to date (build step if needed) - Extract
public/into a temporary branch - Force push to
hostinger(deploy branch) - Clean up

🔁 Full Deployment Script
rsync -av --delete /Users/pablo/Documents/Obsidian\ Vault/blog/content /Users/pablo/pablo/pabloblog/
git subtree split --prefix public -b hostinger-deploy
git push origin hostinger-deploy:hostinger --force
git branch -D hostinger-deploy