From 245f8626dd92f82cdc03219ee3f7488ae938c864 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 5 Mar 2021 11:12:31 +0100 Subject: [PATCH] Fix data-update.yml, run once a month --- .github/workflows/data-update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/data-update.yml b/.github/workflows/data-update.yml index 9f1ebd2cd..ae5acdbd9 100644 --- a/.github/workflows/data-update.yml +++ b/.github/workflows/data-update.yml @@ -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