Skip to content

Daily Data Update

Daily Data Update #168

Workflow file for this run

name: Daily Data Update
on:
schedule:
- cron: "30 8 * * *"
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Bun & Run
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Update json
env:
APIKEY: ${{ secrets.APIKEY }}
run: |
bun run generate
git config --global user.email "[email protected]"
git config --global user.name "Anish"
git add .
git commit -m "Updated README on $(TZ=Asia/Kolkata date +'%Y-%m-%d %H:%M')"
git push origin main