ikiwiki/doc/tips/laptop_wiki_with_git/discussion.mdwn

8 lines
690 B
Plaintext
Raw Normal View History

2008-02-28 15:57:48 +01:00
I have followed this idea along, and it seems to work pretty well.
Now I have a question as a git newbie. Can I have the post-commit hook on the server use something like rsync to update the files on a third machine hosting the web server? The web server does not have git (cretins!). Of course I could just run a cron job.
2008-02-28 16:01:59 +01:00
Or, was this last remark about rebuilding after pulling meant to apply to rebuilding after pushing as well?
2008-02-29 14:38:27 +01:00
[[DavidBremner]]
* *Updated* Now that I play with this a bit, this seems not so important. Having a seperate sync operation that I run from the laptop is no big deal, and lets me update the parts of my site not yet managed by ikiwiki at the same time.