π Update a pinned gist to show your latest dev.to blog post
πβ¨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists
- 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) - Get your
Dev.to
user name (https://dev.to/settings)
- 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/Aveek-Saha/
8335e85451541072dd25fda601129f7d
. - DEV_USERNAME: Your
Dev.to
account username.
This code was inspired by @matchai's bird-box.