File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Download History
2+
3+ on :
4+ schedule :
5+ - cron : " 0 3 * * *"
6+ workflow_dispatch :
7+
8+ concurrency :
9+ group : download-history-${{ github.repository }}
10+ cancel-in-progress : false
11+
12+ permissions :
13+ contents : write
14+
15+ jobs :
16+ publish-download-history :
17+ name : Publish download history chart
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+
23+ - name : Publish downloads data and chart
24+ uses : Justagwas/github-downloads-action@v1
25+ with :
26+ token : ${{ secrets.GITHUB_TOKEN }}
27+ window_days : " 365"
28+ output_branch : " gh-pages"
29+ output_path : " gh-dl/downloads.json"
30+ publish_chart : " true"
31+ chart_output_path : " gh-dl/downloads-trend.svg"
32+ chart_types : " total-trend"
33+ chart_themes : " slate"
34+ charts_output_dir : " gh-dl/charts"
35+ chart_width : " 1000"
36+ chart_height : " 360"
37+ chart_zero_baseline : " true"
38+ chart_y_ticks : " 6"
39+ chart_x_label_every_days : " 0"
40+ chart_show_value_labels : " false"
41+ chart_date_label_format : " yyyy-mm-dd"
42+ chart_show_generated_at : " true"
43+ chart_title_mode : " default"
Original file line number Diff line number Diff line change @@ -440,3 +440,7 @@ MIT License - See [LICENSE](LICENSE) for details.
440440## ⭐ Star History
441441
442442[ ![ Star History Chart] ( https://api.star-history.com/svg?repos=oboroge0/AITuberFlow&type=Date )] ( https://star-history.com/#oboroge0/AITuberFlow&Date )
443+
444+ ## 📈 Download History
445+
446+ [ ![ Downloads trend] ( https://raw.githubusercontent.com/oboroge0/AITuberFlow/gh-pages/gh-dl/downloads-trend.svg )] ( https://github.com/oboroge0/AITuberFlow/releases )
Original file line number Diff line number Diff line change @@ -459,3 +459,7 @@ MIT License - 詳細は [LICENSE](LICENSE) を参照してください。
459459## ⭐ Star History
460460
461461[ ![ Star History Chart] ( https://api.star-history.com/svg?repos=oboroge0/AITuberFlow&type=Date )] ( https://star-history.com/#oboroge0/AITuberFlow&Date )
462+
463+ ## 📈 Download History
464+
465+ [ ![ Downloads trend] ( https://raw.githubusercontent.com/oboroge0/AITuberFlow/gh-pages/gh-dl/downloads-trend.svg )] ( https://github.com/oboroge0/AITuberFlow/releases )
You can’t perform that action at this time.
0 commit comments