From 8569f2676bfa15fb90522aa5816505b50a2a12f4 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 3 Dec 2023 15:25:39 -0600 Subject: feat: add remote publishing --- README.org | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.org') diff --git a/README.org b/README.org index 8cf1c0b..821fa00 100644 --- a/README.org +++ b/README.org @@ -24,3 +24,12 @@ When ready to publish, open any of the =.org= files in the project and execute If you want to force emacs to re-publish all files, including files without changes, execute =C-u M-x org-publish-current-project=. + +The resulting files will be published to the =public/= directory within the +repository, which is ignored via the =.gitignore= file. If you wish to publish +the files remotely, you can change the =:publishing-directory= variable in +=publish.el= or do a sync step outside of emacs: + +#+begin_src sh +scp -r public/* ubuntu:/var/www/cleberg.net/ +#+end_src -- cgit v1.2.3-70-g09d2