This repository has been archived on 2023-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
dogstats/.gitea/workflows/autoupdate.yml

18 lines
423 B
YAML
Raw Normal View History

2023-12-12 20:47:37 +01:00
# 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