๐ 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.