testing schedule
This commit is contained in:
parent
05b56f50ac
commit
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
|
Reference in New Issue
Block a user