diff options
author | emkael <emkael@tlen.pl> | 2022-02-23 02:36:36 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2022-02-23 02:36:36 +0100 |
commit | 04ba8ac12946835a2e4bc86a1d33b399abbde522 (patch) | |
tree | e078f1d16264750faebdbaa68376615b8e878fe4 | |
parent | e5749da1c6241eb2c8d84bcdd1418f94b138879d (diff) |
Env for auto-running brackets generation
-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 |