Daily Readme Update #718
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 Readme Update | |
on: | |
schedule: | |
- cron: "0 4,8,12,17,22 * * *" | |
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: Get Prices | |
env: | |
APIKEY: ${{ secrets.APIKEY }} | |
run: | | |
bun run dev | |
git config --global user.email "xevenbiswas@gmail.com" | |
git config --global user.name "Anish" | |
git add README.md | |
git commit -m "Updated README on $(TZ=Asia/Kolkata date +'%Y-%m-%d %H:%M')" | |
git push origin main |