From 8de033b58b612b25864f4c0e9b7b3a9dfe846c46 Mon Sep 17 00:00:00 2001 From: Christian Haschek Date: Fri, 22 Dec 2023 21:33:07 +0100 Subject: [PATCH] lets see if this works --- .gitea/workflows/autoupdate.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/autoupdate.yml b/.gitea/workflows/autoupdate.yml index b17466d..c3e9646 100644 --- a/.gitea/workflows/autoupdate.yml +++ b/.gitea/workflows/autoupdate.yml @@ -1,6 +1,6 @@ -# on: -# schedule: -# - cron: '1 1 * * *' # every day at 1:01am +on: + schedule: + - cron: '1 1 * * *' # every day at 1:01am # on: [push] @@ -15,4 +15,10 @@ jobs: - name: run crawler run: | cd crawler - php crawler.php \ No newline at end of file + php crawler.php + git config --global user.email "gitea@haschek.at" + git config --global user.name "Gitea" + git add crawler/data.db + git commit -m "update database" + git push + \ No newline at end of file