Skip to content

Nepse Data Auto Scrape #1150

Nepse Data Auto Scrape

Nepse Data Auto Scrape #1150

name: Nepse Data Auto Scrape
on:
push:
branches:
- main
schedule:
- cron: '15 11 * * *' # 11:15am UTC => 05:00pm Nepal Time
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python Environment
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Dependencies
run: |
pip install -r requirements.txt
- name: Execute Scraping Script
run: |
python scrape_nepse.py
- name: Commit and Push Files
run: |
git config --local user.email "[email protected]"
git config --local user.name "sbmagar"
git add .
git commit -am "Today's share data has been scrapped successfully!"
git push origin main