Compare commits

..

3 Commits

Author SHA1 Message Date
e653a6667e testing
Some checks are pending
/ update_database (push) Waiting to run
Build and push / Pulling repo on server (push) Successful in 2s
2023-12-12 20:48:00 +01:00
e4604649cc Merge branch 'master' of gitea.haschek.at:Crispi/dogstats 2023-12-12 20:47:42 +01:00
4742e2a9f8 testing schedule 2023-12-12 20:47:37 +01:00
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# on:
# schedule:
# - cron: '1 1 * * *' # every day at 1:01am
on: [push]
jobs:
update_database:
runs-on: docker-alpine
steps:
- name: All tools we need
run: apk add --no-cache git curl jq openjdk21-jre php php-dom php-curl php-openssl php-sqlite3
- name: Checkout
uses: actions/checkout@v4
- name: run crawler
run: |
cd crawler
php crawler.php

4
crawler/tmp/.gitattributes vendored Normal file
View File

@ -0,0 +1,4 @@
results/*.pdf filter=lfs diff=lfs merge=lfs -text
csv/*.csv filter=lfs diff=lfs merge=lfs -text
pages/*.html filter=lfs diff=lfs merge=lfs -text
events/*.html filter=lfs diff=lfs merge=lfs -text