This approach relies on images being public in secret gists so long as you have the url to them.
- Create a secret gist called something like "Images for Gists".
- Clone the gist:
- SSH:
git clone git@gist.github.com:<hash>.git
- HTTPS:
git clone https://gist.github.com/<hash>.git
- CREDIT: https://gist.github.com/mroderick/1afdd71aa69f6b29601d335751a1a9be
- SSH:
- Add images and push them. Note that gists repos do not support directories.