fix: update new self-hosted wakatime metrics ci

This commit is contained in:
andatoshiki 2022-12-05 18:41:49 +08:00
parent be279cea31
commit c4e55b66cf
2 changed files with 35 additions and 112 deletions

View File

@ -1,25 +1,19 @@
name: Update wakatime metrics to README section name: waka2readme
on: on:
workflow_dispatch: # for manual workflow trigger
schedule: schedule:
- cron: '0 */12 * * *' - cron: "0 0 * * *" # runs at every 12AM UTC
workflow_dispatch:
push:
jobs: jobs:
update-readme: update-readme:
name: Update Readme with Metrics name: Update latest wakatime metrics to README
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: anmol098/waka-readme-stats@master - uses: toshikidev/waka2readme@master
with: with:
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }} # following flags are required, only if this is not on
SHOW_LOC_CHART: false # profile readme, remove the leading `#` to use them
SHOW_SHORT_INFO: false #GH_TOKEN: ${{ secrets.GH_TOKEN }}
SHOW_TIMEZONE: false #REPOSITORY: <gh_username/gh_username>
COMMIT_BY_ME: true
COMMIT_MESSAGE: "chore(metrics): update latest development metrics to readme"
COMMIT_USERNAME: "@andatoshiki"
COMMIT_EMAIL: "101481353+andatoshiki@users.noreply.github.com"
SHOW_LINES_OF_CODE: true
SHOW_TOTAL_CODE_TIME: true

View File

@ -2,7 +2,7 @@
<img width=100% src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/header-pink.svg" alt="header banner" /> <img width=100% src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/header-pink.svg" alt="header banner" />
<!-- header sine wave ends --> <!-- header sine wave ends -->
# d ## d
<img src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/avatar.png" alt="logo" width="140" height="140" align="left" /> <img src="https://cdn.jsdelivr.net/gh/andatoshiki/andatoshiki@master/assets/avatar.png" alt="logo" width="140" height="140" align="left" />
@ -22,79 +22,8 @@ dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
📊 Wakatime weekly development breakdown 📊 Wakatime weekly development breakdown
<!--START_SECTION:waka--> <!--START_SECTION:waka2readme-->
![Code Time](http://img.shields.io/badge/Code%20Time-348%20hrs%2044%20mins-blue) <!--END_SECTION:waka2readme-->
![Profile Views](http://img.shields.io/badge/Profile%20Views-46-blue)
![Lines of code](https://img.shields.io/badge/From%20Hello%20World%20I%27ve%20Written-3%20Million%20lines%20of%20code-blue)
**I'm a Night 🦉**
```text
🌞 Morning 302 commits ██████░░░░░░░░░░░░░░░░░░░ 26.87%
🌆 Daytime 222 commits █████░░░░░░░░░░░░░░░░░░░░ 19.75%
🌃 Evening 208 commits ████░░░░░░░░░░░░░░░░░░░░░ 18.51%
🌙 Night 392 commits ████████░░░░░░░░░░░░░░░░░ 34.88%
```
📅 **I'm Most Productive on Sunday**
```text
Monday 148 commits ███░░░░░░░░░░░░░░░░░░░░░░ 13.17%
Tuesday 107 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 9.52%
Wednesday 216 commits ████░░░░░░░░░░░░░░░░░░░░░ 19.22%
Thursday 102 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 9.07%
Friday 117 commits ██░░░░░░░░░░░░░░░░░░░░░░░ 10.41%
Saturday 209 commits ████░░░░░░░░░░░░░░░░░░░░░ 18.59%
Sunday 225 commits █████░░░░░░░░░░░░░░░░░░░░ 20.02%
```
📊 **This Week I Spent My Time On**
```text
💬 Programming Languages:
YAML 6 hrs 10 mins █████████░░░░░░░░░░░░░░░░ 35.98%
NSIS 2 hrs 53 mins ████░░░░░░░░░░░░░░░░░░░░░ 16.88%
Other 1 hr 28 mins ██░░░░░░░░░░░░░░░░░░░░░░░ 8.6%
Text 59 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 5.8%
Markdown 51 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 4.98%
🔥 Editors:
VS Code 17 hrs 6 mins █████████████████████████ 99.84%
Zsh 1 min ░░░░░░░░░░░░░░░░░░░░░░░░░ 0.16%
🐱‍💻 Projects:
toshiki-qbittorrent-moefi10 hrs 1 min ██████████████░░░░░░░░░░░ 58.43%
installer 1 hr 58 mins ███░░░░░░░░░░░░░░░░░░░░░░ 11.53%
hestia 1 hr 2 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 6.07%
toshiki-data-waster 47 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 4.62%
PPet 45 mins █░░░░░░░░░░░░░░░░░░░░░░░░ 4.47%
💻 Operating System:
WSL 11 hrs 36 mins █████████████████░░░░░░░░ 67.68%
Linux 3 hrs 33 mins █████░░░░░░░░░░░░░░░░░░░░ 20.79%
Windows 1 hr 58 mins ███░░░░░░░░░░░░░░░░░░░░░░ 11.53%
```
**I Mostly Code in JavaScript**
```text
JavaScript 15 repos ██████░░░░░░░░░░░░░░░░░░░ 26.79%
HTML 8 repos ███░░░░░░░░░░░░░░░░░░░░░░ 14.29%
TypeScript 8 repos ███░░░░░░░░░░░░░░░░░░░░░░ 14.29%
CSS 6 repos ██░░░░░░░░░░░░░░░░░░░░░░░ 10.71%
Shell 6 repos ██░░░░░░░░░░░░░░░░░░░░░░░ 10.71%
```
Last Updated on 04/12/2022 10:19:28 UTC
<!--END_SECTION:waka-->
<!-- <!--
andatoshiki/andatoshiki is a ✨ special ✨ repository because its `README.md` (this file) appears on your GitHub profile. andatoshiki/andatoshiki is a ✨ special ✨ repository because its `README.md` (this file) appears on your GitHub profile.