Update the workflow.
All Elisp code is now in source blocks and can therefore be executed.
This commit is contained in:
parent
296543ac1e
commit
7b121ca3fe
1 changed files with 13 additions and 3 deletions
|
@ -1,15 +1,25 @@
|
||||||
#+TITLE: Some Technicalities about Building My Work Page
|
#+TITLE: Some Technicalities about Building My Work Page
|
||||||
|
|
||||||
* Workflow
|
* Workflow
|
||||||
1. Remove all timestamps and load [[file:work.el][=work.el=]].
|
1. Load [[file:work.el][=work.el=]].
|
||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(org-publish-remove-all-timestamps)
|
|
||||||
(load-file "~/Candies/Sites/work/work.el")
|
(load-file "~/Candies/Sites/work/work.el")
|
||||||
#+END_SRC
|
#+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. Run [[file:deploy][=deploy=]] from within the lab wired network.
|
3. Remove all timestamps.
|
||||||
|
#+BEGIN_SRC elisp
|
||||||
|
(org-publish-remove-all-timestamps)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
4. Reopen [[file:index.org][=index.org=]] and republish the current project to get the
|
||||||
|
updated timestamp.
|
||||||
|
|
||||||
|
5. Run [[file:deploy-seafile][=deploy-seafile=]].
|
||||||
|
|
||||||
|
6. Run =nix-shell shell-seafile.nix= and, within it,
|
||||||
|
=seafile-applet= to sync the changes to the server.
|
||||||
|
|
||||||
* Removing the publish cache
|
* Removing the publish cache
|
||||||
Org-publish will not detect files being deleted from the output. To
|
Org-publish will not detect files being deleted from the output. To
|
||||||
|
|
Loading…
Reference in a new issue