Skip to content

Generation of the User-Agents file #841

Generation of the User-Agents file

Generation of the User-Agents file #841

Workflow file for this run

name: Generation of the User-Agents file
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
env:
PYFUNCEBLE_AUTO_CONFIGURATION: "YES"
PYFUNCEBLE_CONFIG_DIR: "/tmp/.pyfunceble"
GIT_NAME: "${{ secrets.GIT_BOT_NAME }}"
GIT_EMAIL: "${{ secrets.GIT_BOT_EMAIL }}"
jobs:
generate:
name: Run the generator and push changes.
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
python_version:
- "3.11"
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Clone repository
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
pip install PyFunceble-dev requests-cache bs4
- name: Get PyFunceble version
run: |
PyFunceble --version
- name: Run User-Agents Generator
run: |
./update.py