Skip to content

Daily Streaks Check #11

Daily Streaks Check

Daily Streaks Check #11

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: Trigger GitHub Pages build
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./ # Directory to deploy, usually the root of the repository