name: VYNDR Weather Monitoring on: schedule: - cron: '*/30 19-4 * * *' # Every 30min during game window workflow_dispatch: jobs: weather-check: runs-on: ubuntu-latest defaults: run: working-directory: src/services/python steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.11' - name: Install dependencies run: pip install -r requirements.txt - name: Check weather for regrade env: SUPABASE_URL: ${{ secrets.SUPABASE_URL }} SUPABASE_SERVICE_KEY: ${{ secrets.SUPABASE_SERVICE_KEY }} SHADOW_MODE: ${{ vars.SHADOW_MODE }} run: | python -c "import sys; sys.path.insert(0, '.'); from blueprints.weather_monitor import check_weather_for_regrade; check_weather_for_regrade()"