Files
logseq-meta/android/.shortcuts/push-graph.sh
2022-12-14 14:29:47 +01:00

11 lines
341 B
Bash

#!/data/data/com.termux/files/usr/bin/bash
source /data/data/com.termux/files/usr/bin/source-ssh-agent
/data/data/com.termux/files/usr/bin/ssh-agent
/data/data/com.termux/files/usr/bin/ssh-add ~/.ssh/logseq_id_rsa
cd /data/data/com.termux/files/home/storage/shared/logseq-gitea/logseq
git add -A
git commit -m "sync from android"
git push