Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Update Data

Update Data #1286

Workflow file for this run

name: Update Data
on:
schedule:
# Runs everyday at:
# 15:15 UTC (GMT0:00) -> 21:00 Nepal Time (GMT+5:45)
- cron: '15 15 * * *'
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@master
- name: Build the data and create local changes
uses: actions/setup-node@v1
with:
node-version: '12'
- name: Install node dependencies
run: npm install --only=production
- name: Scrape and Update Data
run: npm run scrape
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit --allow-empty -m "Auto-update of the data packages" -a
git push