mirror.dongdigua.github.io/gmi/docker/update-git.sh

8 lines
156 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
cp -r gmi/docker/cgi .
pkill -HUP gmid