Update the info on pushing the files.

This commit is contained in:
Sergiu Ivanov 2024-09-25 16:40:00 +02:00
parent 578f2949ba
commit 5cf439cd91

View file

@ -44,6 +44,36 @@
(shell-command "firefox www/index.html")
#+END_SRC
* Pushing to remote
Run the following command:
#+BEGIN_SRC elisp
(async-shell-command "sftp -b push.sftp sivanov@pageperso.ibisc.univ-evry.fr")
#+END_SRC
The output will appear in a buffer called =*Async Shell Command*=.
* New way of updating the page <2024-09-25>
:PROPERTIES:
:VISIBILITY: folded
:END:
I asked Ludovic /again/ if he could give me some direct access to
a directory so that I don't have to toy with Seafile, which also
regularly broke and didn't actually update my page.
Ludovic gave me SFTP access to a remote directory which I can check
out as follows:
#+BEGIN_SRC shell
sftp sivanov@pageperso.ibisc.univ-evry.fr
#+END_SRC
Pubkey authentication with my normal public key works as of today.
I wrote a [[file:push.sftp][short SFTP script]] to push the files to remote.
I used to put the exported HTML files into =www/=, but I could not
figure out how to make =sftp= transfer =www/= and /overwrite/
=public_html/= remotely, rather than putting it in as a subdirectory.
I figured it was easier to just rename the local directory, as I don't
care anyway.
* Forcing Org-mode to ignore the timestamps <2021-11-20> :old:
:PROPERTIES:
:VISIBILITY: folded