mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-12-03 02:40:53 +08:00
10 lines
195 B
Bash
Executable File
10 lines
195 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 .
|
|
rm index.gmi
|
|
git checkout -- index.gmi
|
|
pkill -HUP gmid
|