Add snippet to publish file on the π

master
Jacopo De Simoi 9 months ago
parent 2fa2410806
commit b30b6c2755
  1. 11
      zshrc.org

@ -26,7 +26,16 @@ are daily and pi, the function returns '(".zshrc" ".zshrc.pi")
(org-split-string tags ":")))))))
#+end_src
* zshrc :@zsh:
Execute the following block to export and publish on the π
#+begin_src emacs-lisp :results no
(org-hugo-export-wim-to-md t)
(shell-command "ssh ssh.jacopods.xyz 'cd gists;/snap/bin/hugo -D;rsync -rP public/* /var/www/html'")
#+end_src
#+RESULTS:
: 0
* zshrc :@zsh:
All posts in here will have the category set to /zsh/.
** zshrc
:properties:

Loading…
Cancel
Save