1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

Fix data-update.yml, run once a month

This commit is contained in:
Alexandre Flament 2021-03-05 11:12:31 +01:00 committed by GitHub
parent d9a35fc28e
commit 245f8626dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
name: "Update searx.data"
on:
schedule:
- cron: "05 06 * * 5"
- cron: "05 06 1 * *"
workflow_dispatch:
jobs:
@ -34,13 +34,13 @@ jobs:
- name: Install Python dependencies
run: |
pip install -U pip wheel setuptools
pip install -r requirements.txt
make V=1 install
- name: Fetch data
env:
FETCH_SCRIPT: ./searx_extra/update/${{ matrix.fetch }}
run: |
source local/py3/bin/activate
$FETCH_SCRIPT
- name: Create Pull Request