commit ee7a222f0fc0f77ca7d7b284d748138587ddcfb9 parent 2b5d7e098133f851079ff199731a84def2afc2e7 Author: Riaz <riaz@riazj.com> Date: Wed, 2 Jul 2025 19:33:12 -0700 Add note about using rsync in hooks/pre-push Diffstat:
M | articles/efficiently-publish-to-website.html | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/articles/efficiently-publish-to-website.html b/articles/efficiently-publish-to-website.html @@ -69,7 +69,10 @@ git push</pre> Host riazj Hostname nfsnssh.com User riazpy_riazj - Port 22</pre></article> + Port 22</pre> +<h2>Update: 2025 Jul 2nd</h2> +<p>I added the rsync command to <code>.git/hooks/pre-push</code> so that I can publish to the website with <code>git push</code> instead of using a script to run both commands.</p> +</article> <footer> <hr> <a href="/">Home Page</a></footer>