[docs] "Configuration variables" -> "Deploy destinations"
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# Cookbook
|
||||
|
||||
This section a community-maintained list of slightly more advanced tips and tricks to help better improve your Screeps AI development workflow with TypeScript. Feel free to [contribute your own](https://github.com/screepers/screeps-typescript-starter/tree/v3.0/docs)!
|
||||
This section contains a community-maintained list of slightly more advanced tips and tricks to help better improve your Screeps AI development workflow with TypeScript. Feel free to [contribute your own](https://github.com/screepers/screeps-typescript-starter/tree/v3.0/docs)!
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Configuration variables
|
||||
# Deploy destination
|
||||
|
||||
The `screeps.json` file is a JSON configuration file separated into multiple environments. We've given you three primary environments by default.
|
||||
The `screeps.json` file is a JSON configuration file separated into multiple deploy destinations. We've given you three primary destinations by default.
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -37,4 +37,10 @@ The `screeps.json` file is a JSON configuration file separated into multiple env
|
||||
}
|
||||
```
|
||||
|
||||
[TODO: running environments]
|
||||
You can make as many separate destinations as you want. Just make a copy of any config object and perform the necessary changes. Once you're done, use the `--dest` argument on the `rollup` command to specify which environment to upload to.
|
||||
|
||||
```bash
|
||||
rollup -c --dest main
|
||||
```
|
||||
|
||||
Omitting the `--dest` argument will perform a dry run, which can be used for local directories via symlinks.
|
||||
Reference in New Issue
Block a user