php - What's the proper way to add composer credentials for use in CircleCI? -


i've got project has private repositories installed composer. use auth.json include these credentials:

{   "http-basic": {     "repo.magento.com": {       "username": "1435d ... (some hash) ... a6d45b",       "password": "b4bab ... (some hash) ... 2c1a85"     }   },   "github-oauth": {     "github.com": "3b5dc ... (some hash) ... ae6dcb"   } } 

i use circleci test repository automatically. needless say, don't want auth.json in repository, need credentials repositories.

i know can set environment variables in circleci tackle this, can't seem find proper documentation on variables must use above credentials.

can me this?


Comments

Popular posts from this blog

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -

java - How to handle special characters while unmarshalling xml in JAXB -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -