diff options
-rw-r--r-- | .envrc | bin | 820 -> 901 bytes | |||
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | _cron/playoff | 6 | ||||
m--------- | playoff | 0 |
4 files changed, 5 insertions, 4 deletions
Binary files differ @@ -1,7 +1,7 @@ all: FORCE pull: - @rsync -e "ssh ${LIGA_SSH_OPTS}" -q --delete --exclude=.htaccess --exclude=.git --exclude=.gitignore -urPz ${LIGA_REMOTE_WWW_DIR}/ http + @rsync -e "ssh ${LIGA_SSH_OPTS}" -q --delete --exclude=_log --exclude=.htaccess --exclude=.git --exclude=.gitignore -urPz ${LIGA_REMOTE_WWW_DIR}/ http @chown www-data:www-data http -R autocommit: pull @@ -39,5 +39,6 @@ records: FORCE brackets: FORCE ./playoff/scripts/generate.sh ./playoff/scripts/sync.sh + chown www-data:www-data ./playoff -R FORCE: diff --git a/_cron/playoff b/_cron/playoff index 2a22dfa..48b425b 100644 --- a/_cron/playoff +++ b/_cron/playoff @@ -1,3 +1,3 @@ -# SHELL=/bin/bash -# */3 * * * * cd $SITEPATH && source .envrc && make brackets > $SITEPATH/_log/playoff.log 2>&1 -# SHELL=/bin/sh +SHELL=/bin/bash +*/3 * * * * cd $SITEPATH && source .envrc && cd playoff/scripts/ && ./autorun.sh +SHELL=/bin/sh diff --git a/playoff b/playoff -Subproject 405b44c2331dfa6f45a36cd5419cd18636630ba +Subproject 0f60778be484c2b7aa906e198f2a86f8c4826a8 |