18 lines
423 B
YAML
18 lines
423 B
YAML
# 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 |