Skip to content

Run Job Scraper

Run Job Scraper #136

Workflow file for this run

name: Run Job Scraper
on:
schedule:
- cron: '0 6,12 * * *' # Runs at 6 AM and 4 PM UTC daily
workflow_dispatch: # Enables manual trigger
jobs:
run-scraper:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10.12'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run Job Scraper
env:
SMTP_SERVER: ${{ secrets.SMTP_SERVER }}
SMTP_PORT: ${{ secrets.SMTP_PORT }}
SMTP_USERNAME: ${{ secrets.SMTP_USERNAME }}
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
EMAIL: ${{ secrets.EMAIL }}
PASSWORD: ${{ secrets.PASSWORD }}
run: python main.py