πŸ“š node [[automatic commonplace to agora]]

Automatic commonplace to Agora

To allow me just to commit to commonplace repo, and let the publish to Agora format and Agora repo happen automatically on my server.

setup

cron job

cd /mnt/HC_Volume_21098789/commonplace-to-agora/commonplace
git pull
make agora_remote
cd /mnt/HC_Volume_21098789/commonplace-to-agora/commonplace-agora
git add . && git commit -m "export" && git push

runs every hour.

tweaks

on pages where I have a table of contents, org gives each heading a completely random anchor id each time on export. these get recommited as updates so new up as recently edited nodes in agora each time, which is not what I want.

problem is here: https://emacs.stackexchange.com/questions/35339/random-href-ids-in-org-9-exported-html

πŸ“– stoas
β₯± context