Skip to content

daily

daily #70

Workflow file for this run

name: daily
on:
schedule:
- cron: '0 12 * 3-10 *' # https://crontab.guru
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner
- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.11.4' # install the python version needed
cache: 'pip' # caching pip dependencies
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: daily scrape
env:
MONGODB_PASSWORD: ${{ secrets.MONGODB_PASSWORD }}
run: |
python -c 'import actions; actions.daily();'