forked from kageru/mdb
remove the check for updates because I won't be testing this inside a git repo
This commit is contained in:
parent
dd968c0f42
commit
ef7d80a19c
|
@ -73,7 +73,6 @@ has_updates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cd /home/nginx/html/blog
|
cd /home/nginx/html/blog
|
||||||
if has_updates; then
|
|
||||||
git pull &> /dev/null
|
git pull &> /dev/null
|
||||||
rm -f index.html
|
rm -f index.html
|
||||||
rm -f rss.xml
|
rm -f rss.xml
|
||||||
|
@ -83,4 +82,3 @@ if has_updates; then
|
||||||
# Human-readable output for the cron notification
|
# Human-readable output for the cron notification
|
||||||
echo 'Updated blog to:'
|
echo 'Updated blog to:'
|
||||||
git log -1
|
git log -1
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user