Most of the time, when we are working with automating builds, we often lands up in downloading some files and using it in our workflows. So here are the steps how to curl a file from private github repo repo.
Setting up the token
The first step is to set up a personal access token,
Curl the file
Now we make a simple curl with header to download file.
That’s it. It’s a short article but quite useful.