Fix data-update.yml, run once a month
commit245f8626dd92f82cdc03219ee3f7488ae938c864
authorAlexandre Flament <alex@al-f.net>
dateFri 5 Mar 2021, 11:12 (6 years ago)
parentd9a35fc
.github/workflows/data-update.yml+3−3
@@ -1,7 +1,7 @@
11name: "Update searx.data"
22on:
33 schedule:
4− - cron: "05 06 * * 5"
4+ - cron: "05 06 1 * *"
55 workflow_dispatch:
66
77jobs:
@@ -34,13 +34,13 @@ jobs:
3434
3535 - name: Install Python dependencies
3636 run: |
37− pip install -U pip wheel setuptools
38− pip install -r requirements.txt
37+ make V=1 install
3938
4039 - name: Fetch data
4140 env:
4241 FETCH_SCRIPT: ./searx_extra/update/${{ matrix.fetch }}
4342 run: |
43+ source local/py3/bin/activate
4444 $FETCH_SCRIPT
4545
4646 - name: Create Pull Request