diff --git a/.github/workflows/blog.yml b/.github/workflows/blog.yml index 0823f09..c5fda35 100644 --- a/.github/workflows/blog.yml +++ b/.github/workflows/blog.yml @@ -1,4 +1,4 @@ -name: Update blog posts section. +name: Blog on: schedule: diff --git a/.github/workflows/wakatime.yml b/.github/workflows/wakatime.yml new file mode 100644 index 0000000..2a6e8ed --- /dev/null +++ b/.github/workflows/wakatime.yml @@ -0,0 +1,15 @@ +name: Wakatime + +on: + workflow_dispatch: # for manual workflow trigger + schedule: + - cron: '0 8 * * *' # runs at every 12AM UTC + +jobs: + update-readme: + name: Wakatime + runs-on: ubuntu-latest + steps: + - uses: athul/waka-readme@master + with: + WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} \ No newline at end of file diff --git a/README.md b/README.md index f54c351..9cb920c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,8 @@ My website: https://ycws.vercel.app ![YoungChief's Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=youngchief-btw&langs_count=10&count_private=true&show_icons=true&theme=tokyonight&layout=compact) -![YoungChief's wakatime stats](https://github-readme-stats.vercel.app/api/wakatime?username=youngchief&show_icons=true&theme=tokyonight&layout=compact) + + ---