2024-06-21 02:29:56 +03:00
|
|
|
# Forgejo stats
|
|
|
|
|
|
|
|
> Forgejo profile README statistics all in CI/CD
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
- Place `stats.py` in your .profile
|
|
|
|
- Modify `stats.py` to your needs
|
2024-06-21 02:38:19 +03:00
|
|
|
- Generate a personal access token in settings (Applications tab) with repository read/write and user read permissions
|
2024-06-21 02:33:58 +03:00
|
|
|
- Set GIT_TOKEN in settings > actions > secrets
|
|
|
|
- Place `lang.json`, and `requirements.txt` in your .profile repo
|
2024-06-21 02:29:56 +03:00
|
|
|
- Place `stats.yaml` in `.forgejo/workflows/` in your .profile repo
|
|
|
|
- Embed the images
|
|
|
|
|
2024-11-01 21:59:01 +00:00
|
|
|
For example: <https://git.ari.lt/ari/.profile>
|