href (or (org-string-nw-p desc) href)))
(format "<a href=\"%s\">%s</a>"
href (or (org-string-nw-p desc) href)))))
+
+(defun shtarkov.net-build-and-deploy ()
+ (interactive)
+ (unless (string-equal (buffer-name) "shtarkov.net.org")
+ (user-error "Must be visiting the proper file."))
+ (when (yes-or-no-p "Do you want to build and deploy shtarkov.net?")
+ (one-build)
+ (async-shell-command
+ "rsync -avz public/ shtarkov.net:public_html/"
+ (format "*deploy shtarkov.net*"))))