Skip to content

Daily Streaks Check #23

Daily Streaks Check

Daily Streaks Check #23

Workflow file for this run

name: Daily Streaks Check
on:
schedule:
- cron: "0 0 * * *" # Runs at midnight UTC every day
workflow_dispatch: # Enable manual triggering
jobs:
run_script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install selenium beautifulsoup4 lxml selenium-stealth
- name: Run script
run: python main.py
- name: Commit and push changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add .
git commit -m "Update results"
git push