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.

1. setup

2. 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.

3. 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:

4. Elsewhere

4.1. In my garden

Notes that link to this note (AKA backlinks).

4.3. Mentions

This page last updated: 2023-03-17 Fri 18:29. Map. Recent changes. Source. Peer Production License.