From e12cf5c31234466a61973a9bdb169fd1b1f2b7b7 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Sun, 17 Oct 2021 18:52:11 +0200 Subject: [PATCH] Update and improve the workflow. --- work-notes.org | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/work-notes.org b/work-notes.org index be75569..53ba323 100644 --- a/work-notes.org +++ b/work-notes.org @@ -11,20 +11,23 @@ 8. [ ] News * Workflow - 1. Load [[file:work.el][=work.el=]]. + 1. Load [[file:work.el][work.el]]. #+BEGIN_SRC elisp :results none - (load-file "~/Candies/Sites/work/work.el") +(load-file "~/Candies/Sites/work/work.el") #+END_SRC - 2. Open [[file:index.org][=index.org=]] and publish the current project. + 2. Open [[file:index.org][index.org]] and publish the current project. 3. Remove all timestamps. #+BEGIN_SRC elisp :results none - (org-publish-remove-all-timestamps) +(org-publish-remove-all-timestamps) #+END_SRC - 4. Reopen [[file:index.org][=index.org=]] and republish the current project to get the - updated timestamp. + 4. Reopen [[file:index.org][index.org]] and republish the current project to get the + updated timestamp, or run the following snippet: + #+BEGIN_SRC elisp :results silent +(org-publish-project "work-site") + #+END_SRC 5. Go to https://entrepot.ibisc.univ-evry.fr/ and upload the files and directories from [[file:www/][www/]] to the folder =ivanov-page-perso=. @@ -33,6 +36,15 @@ =prénom.nom@ibisc.univ-evry.fr=, and the password is the same one as for the Intranet IBISC. Detailed information [[https://intranet.ibisc.univ-evry.fr/projects/intranet/wiki/Entrep%C3%B4t_de_fichiers_Installation][here]]. + The following source code block is a shortcut for reloading the + configuration, removing the timestamps, and publishing the + whole site. + #+BEGIN_SRC elisp :results silent +(load-file "~/Candies/Sites/work/work.el") +(org-publish-remove-all-timestamps) +(org-publish-project "work-site") + #+END_SRC + * Seafile problem <2020-02-17 Mon> :old: ** Problem After another update, Seafile started telling me this when I tried