mirror.dongdigua.github.io/gmi/docker/update-git.sh
2023-06-27 14:07:00 +08:00

7 lines
133 B
Bash
Executable File

#! /bin/sh
cd /dongdigua.github.io
git pull --rebase >> /var/log/git.log 2>&1
python misc/mdlist2gmi.py > posts.gmi
pkill -HUP gmid