Minor Changes
This commit is contained in:
parent
cb9b2232a8
commit
30417a50d4
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -23,4 +23,5 @@ jobs:
|
|||||||
uses: athul/waka-readme@master
|
uses: athul/waka-readme@master
|
||||||
with:
|
with:
|
||||||
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
|
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
|
||||||
|
GH_TOKEN: ${{ secrets.GIHUB_TOKEN}}
|
||||||
|
|
||||||
|
17
README.md
17
README.md
@ -13,18 +13,9 @@ Add a comment to your README like the follows
|
|||||||
|
|
||||||
The lines will be our entrypoints for our metrics.
|
The lines will be our entrypoints for our metrics.
|
||||||
|
|
||||||
## How to get it
|
## Using it
|
||||||
|
|
||||||
- Clone the Repo
|
- Get a GitHub Access Token with a `repo` scope and save it in the Repo Secrets `GH_TOKEN = <Your GitHub Access Token>`
|
||||||
- Install the dependencies `pip install -r requirements.txt`
|
- Get your Wakatime API Key and save it as `WAKATIME_API_KEY = <your wakatime API Key>` in your Repository Secrets
|
||||||
- Get a GitHub Access Token with a `repo` scope.
|
|
||||||
- Get your Wakatime API Key.
|
|
||||||
- Load env vars like
|
|
||||||
|
|
||||||
```text
|
That's it. The Action runs everyday at 00.00 UTC
|
||||||
GH_TOKEN = <ghtoken>
|
|
||||||
WAKATIME_API_KEY = <your wakatime API Key>
|
|
||||||
USERNAME = <github_username>
|
|
||||||
```
|
|
||||||
|
|
||||||
- Run the Script with `python main.py`
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user