mirror of
https://github.com/searxng/searxng.git
synced 2024-12-23 01:36:29 +00:00
Fix data-update.yml, run once a month
This commit is contained in:
parent
d9a35fc28e
commit
245f8626dd
1 changed files with 3 additions and 3 deletions
6
.github/workflows/data-update.yml
vendored
6
.github/workflows/data-update.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: "Update searx.data"
|
name: "Update searx.data"
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "05 06 * * 5"
|
- cron: "05 06 1 * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -34,13 +34,13 @@ jobs:
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -U pip wheel setuptools
|
make V=1 install
|
||||||
pip install -r requirements.txt
|
|
||||||
|
|
||||||
- name: Fetch data
|
- name: Fetch data
|
||||||
env:
|
env:
|
||||||
FETCH_SCRIPT: ./searx_extra/update/${{ matrix.fetch }}
|
FETCH_SCRIPT: ./searx_extra/update/${{ matrix.fetch }}
|
||||||
run: |
|
run: |
|
||||||
|
source local/py3/bin/activate
|
||||||
$FETCH_SCRIPT
|
$FETCH_SCRIPT
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
|
|
Loading…
Reference in a new issue