Skip to content

Commit

Permalink
docs: add notes about loading .env files via Fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh committed Jan 10, 2022
1 parent e307087 commit 31e27fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion STRUCTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ As a contributor, you'll likely spend the majority of your time inside the [src]

## Configuration

Dotenv configuration files are stored inside the `config` folder, with a file per environment.
Dotenv configuration files are stored inside the `config` folder, with a file per environment. More information can be found inside the [Configuration README document](./config/README.md).

## Source Code

Expand Down
2 changes: 2 additions & 0 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This app follows the [12 factor app](https://12factor.net/config) approach to co

_Currently, build configuration in [`fastlane/`](../fastlane) is not configurable through these files._

Specific dotenv files can be loaded by Fastlane by supplying `app_env:name` as an option to any commands. For example, `fastlane ios build app_env:next` would load the variables from `config/.env.next` and make these available to the app.

## Environments

There are currently 3 environments:
Expand Down

0 comments on commit 31e27fb

Please sign in to comment.