Skip to content

Automated Mandi Synchronization Engine #32

Automated Mandi Synchronization Engine

Automated Mandi Synchronization Engine #32

name: Automated Mandi Synchronization Engine
on:
schedule:
- cron: '0 15 * * *' # Triggers automatically daily at exactly 15:00 UTC (8:30 PM IST)
workflow_dispatch: # Allows you to click a button in GitHub to force run it instantly
jobs:
execute-pipeline:
runs-on: ubuntu-latest
steps:
- name: Codebase Clone Checkout
uses: actions/checkout@v4
- name: Setup Enterprise Python Runtime Environment
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install System Architecture Requirements Modules
run: |
python -m pip install --upgrade pip
pip install -r backend/requirements.txt
- name: Run Extraction Matrix Pipeline Tasks
env:
GOVT_API_KEY: ${{ secrets.GOVT_API_KEY }}
DB_CONNECTION_STRING: ${{ secrets.DB_CONNECTION_STRING }}
run: python backend/mandi_pipeline_sync.py