Compare commits
3 Commits
fb3c107e1a
...
e653a6667e
Author | SHA1 | Date | |
---|---|---|---|
e653a6667e | |||
e4604649cc | |||
4742e2a9f8 |
18
.gitea/workflows/autoupdate.yml
Normal file
18
.gitea/workflows/autoupdate.yml
Normal 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
4
crawler/tmp/.gitattributes
vendored
Normal 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
|
Reference in New Issue
Block a user