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 : Update README cards
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ schedule :
7+ - cron : " 0 0 * * *"
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Generate stats card
17+ uses : readme-tools/github-readme-stats-action@v1
18+ with :
19+ card : stats
20+ options : username=${{ github.repository_owner }}&include_orgs=true&show_icons=true&theme=transparent&locale=en
21+ path : profile/stats.svg
22+ token : ${{ secrets.GITHUB_TOKEN }}
23+
24+ - name : Generate top languages card
25+ uses : readme-tools/github-readme-stats-action@v1
26+ with :
27+ card : top-langs
28+ options : username=${{ github.repository_owner }}&include_orgs=true&show_icons=true&theme=transparent&locale=en&exclude_repo=lixie
29+ path : profile/top-langs.svg
30+ token : ${{ secrets.GITHUB_TOKEN }}
31+
32+ - name : Move images
33+ run : |
34+ mkdir -p ./_site
35+ mv profile/*.svg ./_site/
36+
37+ - name : Deploy to GitHub Pages
38+ id : deployment
39+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments