Skip to content

Daily Streaks Check #15

Daily Streaks Check

Daily Streaks Check #15

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: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: main
build_dir: public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}