Daily Data Update #227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "xevenbiswas@gmail.com" | |
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 |