XJabin/NEPSE-Predictor
0
1name: Daily NEPSE Scraper2 3on:4 schedule:5 - cron: '0 10 * * *' 6 workflow_dispatch:7 8jobs:9 build:10 runs-on: ubuntu-latest11 steps:12 - name: Checkout code13 uses: actions/checkout@v414 15 - name: Set up Python16 uses: actions/setup-python@v517 with:18 python-version: '3.9'19 20 - name: Install dependencies21 run: |22 python -m pip install --upgrade pip23 pip install playwright pandas openpyxl lxml24 python -m playwright install chromium --with-deps 25 - name: Run Scraper26 run: python scraper.py27 28 - name: Commit and Push29 run: |30 git config --global user.name "github-actions[bot]"31 git config --global user.email "github-actions[bot]@users.noreply.github.com"32 git add nepse_data.db33 git commit -m "Daily data update [skip ci]" || exit 034 git push