Fetching environment variables

I have a file in a secret gist on github. I’d like to wget the file just before a command runs. I have stored the raw url in an environment variable on the circle ci website. How can I download the file before tests start running? I don’t want to put it in the repo at all, not even the url.

You could put the URL of the Gist in a CircleCI environment variable, and then do wget $MY_SECRET_URL in your build.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.