Skip to content

Save to Archive2

Save to Archive2 #660

Workflow file for this run

name: Save to Archive2
on:
schedule:
- cron: '0 11 * * *' # Once per day at midnight
jobs:
build:
runs-on: ubuntu-20.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 chromium-browser
- name: Install the necessary packages
run: pip install requests webdriver-manager selenium pytest
- name: Save archive
run: python run.py
- uses: stefanzweifel/[email protected]
with:
commit_message: Apply news
branch: ${{ github.head_ref }}