🦠 Update a gist to show Coronavirus stats
-
Create a new public GitHub Gist (https://gist.github.com/)
-
Create an access token with the
gist
scope and copy it. (https://github.com/settings/tokens/new) -
Edit the environment variables in .github/workflows/main.yml:
- GIST_ID: The ID portion from your gist url:
https://gist.github.com/matchai/6d5f84419863089a167387da62dd7081
.
- GIST_ID: The ID portion from your gist url:
-
Fork this repo
-
Go to the repo Settings > Secrets
-
Add the following environment variables:
-
GH_TOKEN: The GitHub access token generated above.
-
GIST_ID: The ID portion from your gist url:
https://gist.github.com/Suvink/
6d5f84419863089a167387da62dd7081
- Use Github Actions to automate the updates. Copy the contents in
.github/workflows/schedule.yaml
file and paste in a new Github Actions Workflow.