Configuration
Understand how to create and configure a dynamic config file for your Node.js build tool. Learn to specify templates, repositories, API keys, and branching strategies to automate game deployment efficiently while managing sensitive data outside source control.
We'll cover the following...
Setting up a config file
Before you can build your setup command, you must think about creating a configuration file that will contain specific details about what templates you are using, what repository you are deploying to, and what base branch you are branching off of: master, develop? Another detail that would need to be specified would be the name of the API URL that you will use to obtain the values needed to build the game. You can declare all of this in a config.json file. This file is not included in source control, because it involves committing sensitive data.
If you look at the implementation used in nobot ...