From 7f5fb5da2f4479c8869b1f71fc2929030cd14428 Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 30 May 2021 14:52:24 +0200 Subject: Playoff generators setup Fixes #1 --- .envrc | Bin 400 -> 583 bytes .gitmodules | 3 +++ Makefile | 4 ++++ _cron/playoff | 3 +++ playoff | 1 + 5 files changed, 11 insertions(+) create mode 100644 _cron/playoff create mode 160000 playoff diff --git a/.envrc b/.envrc index abd4edb..3f87537 100644 Binary files a/.envrc and b/.envrc differ diff --git a/.gitmodules b/.gitmodules index d0626d0..23436b3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "ausbutler"] path = ausbutler url = https://github.com/emkael/pzbs-liga-ausbutler +[submodule "playoff"] + path = playoff + url = git@github.com:PZBS/liga-playoff diff --git a/Makefile b/Makefile index e579a88..e1f0e3e 100644 --- a/Makefile +++ b/Makefile @@ -24,4 +24,8 @@ butler: dumps FORCE ausbutler: FORCE ./ausbutler/ausbutler-all.sh +playoff: FORCE + ./playoff/scripts/generate.sh + ./playoff/scripts/sync.sh + FORCE: diff --git a/_cron/playoff b/_cron/playoff new file mode 100644 index 0000000..ad35c5f --- /dev/null +++ b/_cron/playoff @@ -0,0 +1,3 @@ +SHELL=/bin/bash +*/3 * * * * cd $SITEPATH && source .envrc && make playoff >> $SITEPATH/_log/playoff.log 2>&1 +SHELL=/bin/sh diff --git a/playoff b/playoff new file mode 160000 index 0000000..edc989d --- /dev/null +++ b/playoff @@ -0,0 +1 @@ +Subproject commit edc989d202aa1448741f43a3ac78ac8c56ccafbe -- cgit v1.2.3