Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Update save2archive.yml #1303

Update save2archive.yml

Update save2archive.yml #1303

Workflow file for this run

name: Save to Archive2
on:
push
# schedule:
# - cron: '0 11 * * *' # Once per day at midnight
jobs:
build:
runs-on: ubuntu-22.04
strategy:
# You can use PyPy versions in python-version. For example, pypy2 and pypy3
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Install
run: |
pip install -r requirements.txt
- name: Install software
run: sudo apt-get install -y firefox xvfb chromium-chromedriver
- name: Install the necessary packages
run: pip install requests webdriver-manager selenium pytest pyvirtualdisplay selenium webdriver_manager cloudscraper
- name: Save archive
run: python run.py
- uses: stefanzweifel/git-auto-commit-action@v4.1.2
with:
commit_message: Apply news
branch: ${{ github.head_ref }}